From: Avi Kivity Date: Tue, 20 Mar 2007 16:40:40 +0000 (+0200) Subject: KVM: Workaround vmx inability to virtualize the reset state X-Git-Tag: v2.6.22-rc1~1008^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cb5b0333250beb382624f626851a31f601b4830;p=pandora-kernel.git KVM: Workaround vmx inability to virtualize the reset state The reset state has cs.selector == 0xf000 and cs.base == 0xffff0000, which aren't compatible with vm86 mode, which is used for real mode virtualization. When we create a vcpu, we set cs.base to 0xf0000, but if we get there by way of a reset, the values are inconsistent and vmx refuses to enter guest mode. Workaround by detecting the state and munging it appropriately. Signed-off-by: Avi Kivity --- Reading git-diff-tree failed