projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5ca8e5
)
KVM: VMX: Use cached VM_EXIT_INTR_INFO in handle_exception
author
Avi Kivity
<avi@redhat.com>
Mon, 7 Mar 2011 15:39:45 +0000
(17:39 +0200)
committer
Avi Kivity
<avi@redhat.com>
Wed, 11 May 2011 11:56:56 +0000
(07:56 -0400)
vmx_complete_atomic_exit() cached it for us, so we can use it here.
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/vmx.c
b/arch/x86/kvm/vmx.c
index f95f48b260063dcd907c864a71d948fff2a45b9a..1bdb49de6a2249c59b1c1ec3cf8d559eac265cde 100644
(file)
--- a/
arch/x86/kvm/vmx.c
+++ b/
arch/x86/kvm/vmx.c
@@
-3118,7
+3118,7
@@
static int handle_exception(struct kvm_vcpu *vcpu)
enum emulation_result er;
vect_info = vmx->idt_vectoring_info;
- intr_info = vm
cs_read32(VM_EXIT_INTR_INFO)
;
+ intr_info = vm
x->exit_intr_info
;
if (is_machine_check(intr_info))
return handle_machine_check(vcpu);