Open
Description
Hi,
I am trying to write an app that will notify when a new VM is added to a HV.
How can I listen to all events from the hypervisor?
I know the Domain object has RegisterEventAsync but I don't want to register events from a specific domain.
This is what I am trying to do:
libvirt = require("libvirt")
libvirt.startEventLoop()
async function foo () {
hv = new libvirt.Hypervisor("qemu:///system")
await hv.connectAsync()
hv.registerDomainEvent(...)
}
foo()
Metadata
Metadata
Assignees
Labels
No labels