projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5e97c8
)
KVM: VMX: remove hack that disables emulation on vcpu reset/init
author
Gleb Natapov
<gleb@redhat.com>
Mon, 21 Jan 2013 13:36:44 +0000
(15:36 +0200)
committer
Marcelo Tosatti
<mtosatti@redhat.com>
Thu, 24 Jan 2013 02:40:27 +0000
(
00:40
-0200)
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>
arch/x86/kvm/vmx.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/vmx.c
b/arch/x86/kvm/vmx.c
index f942b201b3453a91be118b9a7c755b01c81d53b4..20409bd5eb4aa3655fdd3a885b30cf087ba07858 100644
(file)
--- 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;
}