From: Eli Collins Date: Mon, 2 Jun 2008 03:24:40 +0000 (-0700) Subject: KVM: VMX: Clear CR4.VMXE in hardware_disable X-Git-Tag: v2.6.26-rc6~11^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e693d71b46e64536581bf4884434fc1b8797e96f;p=pandora-kernel.git KVM: VMX: Clear CR4.VMXE in hardware_disable Clear CR4.VMXE in hardware_disable. There's no reason to leave it set after doing a VMXOFF. VMware Workstation 6.5 checks CR4.VMXE as a proxy for whether the CPU is in VMX mode, so leaving VMXE set means we'll refuse to power on. With this change the user can power on after unloading the kvm-intel module. I tested on kvm-67 and kvm-69. Signed-off-by: Eli Collins Signed-off-by: Avi Kivity --- Reading git-diff-tree failed