[libvirt PATCH v7 08/18] qemu: Introduce virQEMUCapsTypeIsAccelerated
Daniel P. Berrangé
berrange at redhat.com
Tue Jan 25 15:02:26 UTC 2022
On Fri, Jan 21, 2022 at 06:54:48PM +0100, Andrea Bolognani wrote:
> From: Roman Bolshakov <r.bolshakov at yadro.com>
>
> It replaces hardcoded checks for KVM. It'll be cleaner to use
> the function once multiple accelerators are supported in the
> QEMU driver.
>
> Explicit KVM domain checks should be done only when a feature is
> available only for KVM.
>
> Signed-off-by: Roman Bolshakov <r.bolshakov at yadro.com>
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> Tested-by: Brad Laue <brad at brad-x.com>
> Tested-by: Christophe Fergeau <cfergeau at redhat.com>
> ---
> src/qemu/qemu_capabilities.c | 19 +++++++++++++------
> 1 file changed, 13 insertions(+), 6 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