]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target-i386: Don't enable nested VMX by default
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 3 Oct 2014 19:39:50 +0000 (16:39 -0300)
committerAndreas Färber <afaerber@suse.de>
Tue, 4 Nov 2014 14:48:47 +0000 (15:48 +0100)
commite93abc147fa628650bdbe7fd57f27462ca40a3c2
tree2028a6a8813c5f5cd03eeb7922a057aee3acc6cc
parentb9fc20bccfcbac082e82896c54862c939d9cb4d2
target-i386: Don't enable nested VMX by default

TCG doesn't support VMX, and nested VMX is not enabled by default in the
KVM kernel module.

So, there's no reason to have VMX enabled by default on the core2duo and
coreduo CPU models, today. Even the newer Intel CPU model definitions
don't have it enabled.

In this case, we need machine-type compat code, as people may be running
the older machine-types on hosts that had VMX nesting enabled.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/i386/pc_piix.c
hw/i386/pc_q35.c
target-i386/cpu.c