Skip to content

Events not firing #75

Open
Open
@Hibryda

Description

I have a piece of code:

vapp.hyperv = new virt.Hypervisor(vapp.hyperv_string)
  vapp.hyperv.connectAsync()
    .then(() =>
      vapp.domain = vapp.hyperv.lookupDomainByNameAsync(name)
    )
    .then((domain) => {
      vapp.domain = domain
      vapp.ev_lifecycle = domain.registerEvent(
        {evtype:virt.VIR_DOMAIN_EVENT_ID_LIFECYCLE},
        function (hyp, dom, data) {
            console.log(hyp, dom, data)
      })
    return vapp.domain.getInfoAsync()
    })
...

After running the above I get the following error:
libvirt: error : internal error: could not initialize domain event timer

Why is it so?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions