[libvirt PATCH 06/20] fixup! qemu: Fix / improve virQEMUCapsProbeHVF()

Daniel P. Berrangé berrange at redhat.com
Fri Jan 21 16:54:10 UTC 2022


On Mon, Jan 17, 2022 at 11:52:46AM +0100, Andrea Bolognani wrote:
> Fix the architecture check so that hardware acceleration is only
> ever advertised when the guest and host architecture match; exit
> early if possible instead of calling sysctl every single time;
> add some comments.
> 
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> Tested-by: Brad Laue <brad at brad-x.com>
> ---
>  src/qemu/qemu_capabilities.c | 22 ++++++++++++++++------
>  1 file changed, 16 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