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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  src/qemu/qemu_migration.c | 52 ++++++++++++++++++++++++++++++++++++---
>  1 file changed, 48 insertions(+), 4 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>


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 :|





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux