[libvirt] [PATCH 0/2] qemu_agent: Switch to event driven impl

Michal Privoznik mprivozn at redhat.com
Fri Jun 15 16:10:09 UTC 2012


Qemu fixed some qemu-ga commands reporting bogus success:

   http://www.mail-archive.com/qemu-devel@nongnu.org/msg110261.html

Therefore we need an implementation which won't wait for qemu-ga to reply and
hence block indefinitely. Fortunately, we can take events on qemu monitor as
indication of success.

Michal Privoznik (2):
  qemu_agent: Add some more debug prints
  qemu_agent: Wait for events instead of agent response

 src/qemu/qemu_agent.c   |   52 +++++++++++++++++++++++++++++++++++++++++-----
 src/qemu/qemu_agent.h   |    9 ++++++++
 src/qemu/qemu_process.c |    9 ++++++++
 3 files changed, 64 insertions(+), 6 deletions(-)

-- 
1.7.8.5




More information about the libvir-list mailing list