]> xenbits.xensource.com Git - libvirt.git/commit
qemu: remove hardcoded migration fail for vDPA devices if we can ask QEMU
authorEugenio Pérez <eperezma@redhat.com>
Wed, 20 Jul 2022 16:05:49 +0000 (18:05 +0200)
committerLaine Stump <laine@redhat.com>
Thu, 21 Jul 2022 04:58:06 +0000 (00:58 -0400)
commit2103807e330487952f423d86f541a7a28e003e95
treeb5ea1d7b3cf10a4c7767bbc7d07feb7288e9ef1c
parent156e99f686690855be4e45d9b8b3194191a8bc31
qemu: remove hardcoded migration fail for vDPA devices if we can ask QEMU

vDPA devices will be migratable soon, so we shouldn't unconditionally
block migration of any domain with a vDPA device. Instead, we should
rely on QEMU to make the decision when that info is available from the
query-migrate QMP command (QEMU versions too old to have that info in
the results of query-migrate don't support migration of vDPA devices,
so in that case we will continue to unconditionally block migration).

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
src/qemu/qemu_migration.c