]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_agent: Wait for events instead of agent response
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 15 Jun 2012 16:00:13 +0000 (18:00 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Sat, 16 Jun 2012 07:06:57 +0000 (09:06 +0200)
commitd97a234c62d272eb140c836cb93d750a4dec3354
tree1ea0f6844a7632f9a7d28b6db5a7975049b6dbdc
parentc12d787eb0b8448d8099bf915da8ac4eeba1b8c5
qemu_agent: Wait for events instead of agent response

With latest changes to qemu-ga success on some commands is not reported
anymore, e.g. guest-shutdown or guest-suspend-*. However, errors are
still being reported. Therefore, we need to find different source of
indication if operation was successful. Events.
src/qemu/qemu_agent.c
src/qemu/qemu_agent.h
src/qemu/qemu_process.c