[PATCH] qemu: Taint cpu host-passthrough only after migration

Daniel P. Berrangé berrange at redhat.com
Mon Oct 5 08:07:46 UTC 2020


On Sun, Oct 04, 2020 at 03:10:52PM -0400, Cole Robinson wrote:
> From a discussion last year[1], Dan recommended libvirt drop the tain
> flag for cpu host-passthrough, unless the VM has been migrated.
> 
> This repurposes the existing host-cpu taint flag to do just that.
> 
> [1]: https://www.redhat.com/archives/virt-tools-list/2019-February/msg00041.html
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1673098
> 
> Signed-off-by: Cole Robinson <crobinso at redhat.com>
> ---
>  src/conf/domain_conf.h  | 2 +-
>  src/qemu/qemu_domain.c  | 7 +++++--
>  src/qemu/qemu_domain.h  | 3 ++-
>  src/qemu/qemu_process.c | 2 +-
>  4 files changed, 9 insertions(+), 5 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