]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target-i386: Disable VME by default with TCG
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 30 Sep 2016 18:49:37 +0000 (15:49 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 17 Oct 2016 17:44:49 +0000 (15:44 -0200)
commit04d99c3c61f4bdc0450dbeb6512b6dd743baca65
treebbbf7e224c1dbb79611c884dfd43358ad0df399b
parentee465a3ef77c2b2975ffa71c72208c05b3f3970d
target-i386: Disable VME by default with TCG

VME is already disabled automatically when using TCG. So, instead
of pretending it is there when reporting CPU model data on
query-cpu-* QMP commands (making every CPU model to be reported
as not runnable), we can disable it by default on all CPU models
when using TCG.

Do that by adding a tcg_default_props array that will work like
kvm_default_props.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target-i386/cpu.c