diff options
author | Gleb Natapov <gleb@redhat.com> | 2013-01-21 08:36:44 -0500 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2013-01-23 21:40:27 -0500 |
commit | 286da4156dc65c8a054580fdd96b7709132dce8d (patch) | |
tree | 85aa926f5c2e8e9f9f032b09760ee4a10b54ef88 | |
parent | c5e97c80b5ddd6139bdadcbd44e263c2a3e7fae6 (diff) |
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>
-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) | |||
4035 | 4035 | ||
4036 | ret = 0; | 4036 | ret = 0; |
4037 | 4037 | ||
4038 | /* HACK: Don't enable emulation on guest boot/reset */ | ||
4039 | vmx->emulation_required = 0; | ||
4040 | |||
4041 | return ret; | 4038 | return ret; |
4042 | } | 4039 | } |
4043 | 4040 | ||