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:
Tobin Feldman-Fitzthum
2020-04-28 11:04:14 +02:00
committed by Michal Privoznik
parent c1165f70c2
commit 5ffff9b9e2
50 changed files with 55 additions and 0 deletions

View File

@@ -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,