diff options
author | Gleb Natapov <gleb@redhat.com> | 2013-01-21 13:36:44 (GMT) |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2013-01-24 02:40:27 (GMT) |
commit | 286da4156dc65c8a054580fdd96b7709132dce8d (patch) | |
tree | 85aa926f5c2e8e9f9f032b09760ee4a10b54ef88 /arch/x86 | |
parent | c5e97c80b5ddd6139bdadcbd44e263c2a3e7fae6 (diff) | |
download | linux-fsl-qoriq-286da4156dc65c8a054580fdd96b7709132dce8d.tar.xz |
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 <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kvm/vmx.c | 3 |
1 files changed, 0 insertions, 3 deletions
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; } |