From: Gleb Natapov Date: Mon, 21 Jan 2013 13:36:44 +0000 (+0200) Subject: KVM: VMX: remove hack that disables emulation on vcpu reset/init X-Git-Tag: v3.9-rc1~97^2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=286da4156dc65c8a054580fdd96b7709132dce8d;p=platform%2Fkernel%2Flinux-exynos.git KVM: VMX: remove hack that disables emulation on vcpu reset/init There is no reason for it. If state is suitable for vmentry it will be detected during guest entry and no emulation will happen. Signed-off-by: Gleb Natapov Signed-off-by: Marcelo Tosatti --- diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index f942b20..20409bd 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -4035,9 +4035,6 @@ static int vmx_vcpu_reset(struct kvm_vcpu *vcpu) ret = 0; - /* HACK: Don't enable emulation on guest boot/reset */ - vmx->emulation_required = 0; - return ret; }