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 <[email protected]>
> Tested-by: Brad Laue <[email protected]>
> ---
>  src/qemu/qemu_capabilities.c | 22 ++++++++++++++++------
>  1 file changed, 16 insertions(+), 6 deletions(-)

Reviewed-by: Daniel P. Berrangé <[email protected]>


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

Reply via email to