diff options
author | Avi Kivity <avi@qumranet.com> | 2007-07-25 02:22:12 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-07-25 07:31:13 -0400 |
commit | 4c981b43d7ec18818754bf85b829865abd0ce340 (patch) | |
tree | 2db7c22e03393e32ea4cdb0d55e5d13c71ed2ef2 /drivers/kvm/x86_emulate.c | |
parent | 7cfa4b0a43286b1da3afa4f5f99d52e65a8f30fc (diff) |
KVM: Fix removal of nx capability from guest cpuid
Testing the wrong bit caused kvm not to disable nx on the guest when it is
disabled on the host (an mmu optimization relies on the nx bits being the
same in the guest and host).
This allows Windows to boot when nx is disabled on te host (e.g. when
host pae is disabled).
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/x86_emulate.c')
0 files changed, 0 insertions, 0 deletions