[libvirt PATCH v2 4/6] qemu: allow migration with assigned PCI hostdev if <teaming> is set

Daniel P. Berrangé berrange at redhat.com
Tue Jan 28 15:08:12 UTC 2020


On Fri, Jan 24, 2020 at 10:39:19AM -0500, Laine Stump wrote:
> Normally a PCI hostdev can't be migrated, so
> qemuMigrationSrcIsAllowedHostdev() won't permit it. In the case of a a
> hostdev network interface that has <teaming type='transient'/> set,
> QEMU will automatically unplug the device prior to migration, and
> re-plug a corresponding device on the destination. This patch modifies
> qemuMigrationSrcIsAllowedHostdev() to allow domains with those devices
> to be migrated.
> 
> Signed-off-by: Laine Stump <laine at redhat.com>
> ---
>  src/qemu/qemu_migration.c | 52 ++++++++++++++++++++++++++++++++++++---
>  1 file changed, 48 insertions(+), 4 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list