]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Add qemuDomainCheckABIStability
authorJiri Denemark <jdenemar@redhat.com>
Wed, 14 Jun 2017 11:43:37 +0000 (13:43 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 14 Jun 2017 15:08:16 +0000 (17:08 +0200)
commit063b2b8788db204d0ac2e1d367fd0c5eb9b81451
tree9edc6a8f736ad8ff5c58c8b8e48cad312f4df32d
parenta0912df3faac8b58725f45b8cf928990999585a3
qemu: Add qemuDomainCheckABIStability

When making ABI stability checks for an active domain, we need to make
sure we use the same migratable definition which virDomainGetXMLDesc
with the MIGRATABLE flag provides, otherwise the ABI check will fail.
This is implemented in the new qemuDomainCheckABIStability which takes a
domain object and generates the right migratable definition from it.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h