]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Wait for migration events on domain condition
authorJiri Denemark <jdenemar@redhat.com>
Fri, 29 May 2015 06:38:44 +0000 (08:38 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 9 Jul 2015 19:57:30 +0000 (21:57 +0200)
commit3409f5bc4e0ea870982f4eee3bb6f97fe9f9f883
tree6026db3445f6b5bcdcbd2ecb74ecda0654474a4a
parent6d2edb6a42d0d41971fcf53c16cdc785d36c3ecc
qemu: Wait for migration events on domain condition

Since we already support the MIGRATION event, we just need to make sure
the domain condition is signalled whenever a p2p connection drops or the
domain is paused due to IO error and we can avoid waking up every 50 ms
to check whether something happened.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_domain.h
src/qemu/qemu_migration.c
src/qemu/qemu_process.c