]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Introduce virQEMUCapsHaveAccel
authorRoman Bolshakov <r.bolshakov@yadro.com>
Fri, 19 Oct 2018 15:10:05 +0000 (18:10 +0300)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 25 Jan 2022 15:54:43 +0000 (16:54 +0100)
commit6b94f4d1b127c9b087e4598475927492cdda1ed3
treee9c3323eeeca1fff781f577374caac2df2614f09
parenta8643c53fb4e7b68266fda221e56d6e254c11556
qemu: Introduce virQEMUCapsHaveAccel

The function should be used to check if qemu capabilities include a
hardware acceleration, i.e. accel is not TCG.

Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Tested-by: Brad Laue <brad@brad-x.com>
Tested-by: Christophe Fergeau <cfergeau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_capabilities.c