[libvirt] Re: [Qemu-devel] [PATCH 1/6] Allow multiple monitor devices (v2)

Hollis Blanchard hollisb at us.ibm.com
Mon May 11 20:54:40 UTC 2009


On Wed, 2009-04-08 at 13:34 -0500, Anthony Liguori wrote:
> Right now only one monitor device can be enabled at a time.  In order to support
> asynchronous notification of events, I would like to introduce a 'wait' command
> that waits for an event to occur.  This implies that we need an additional
> monitor session to allow commands to still be executed while waiting for an
> asynchronous notification.

Was there any consensus reached in this thread? I'm once again looking
for ways to communicate qemu watchdog events to libvirt.

With these patches, libvirt could open a second monitor connection to
qemu, and in the second one execute "wait_event". When the watchdog
triggers, the wait command would print the event, libvirt would get the
fd "data available" notification, and create a domain event. Right?

-- 
Hollis Blanchard
IBM Linux Technology Center




More information about the libvir-list mailing list