diff options
author | Gleb Natapov <gleb@redhat.com> | 2013-01-21 15:36:44 +0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2013-01-24 00:40:27 -0200 |
commit | 286da4156dc65c8a054580fdd96b7709132dce8d (patch) | |
tree | 85aa926f5c2e8e9f9f032b09760ee4a10b54ef88 /arch/x86 | |
parent | c5e97c80b5ddd6139bdadcbd44e263c2a3e7fae6 (diff) | |
download | lwn-286da4156dc65c8a054580fdd96b7709132dce8d.tar.gz lwn-286da4156dc65c8a054580fdd96b7709132dce8d.zip |
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 f942b201b345..20409bd5eb4a 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; } |