mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemu: Introduce QEMU_CAPS_TCG
Since QEMU 2.10 it is possible to disable TCG when building QEMU. Introduce a capability that reflects this. Signed-off-by: Tobin Feldman-Fitzthum <tobin@linux.vnet.ibm.com> Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
committed by
Michal Privoznik
parent
c1165f70c2
commit
5ffff9b9e2
@@ -345,6 +345,7 @@ int qemuTestCapsCacheInsert(virFileCachePtr cache,
|
||||
0,
|
||||
false,
|
||||
false);
|
||||
virQEMUCapsSet(tmpCaps, QEMU_CAPS_TCG);
|
||||
}
|
||||
for (j = 0; kvm_machines[i][j] != NULL; j++) {
|
||||
virQEMUCapsAddMachine(tmpCaps,
|
||||
|
||||
Reference in New Issue
Block a user