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:
f583c29
)
KVM: nVMX: Remove redundant get_vmcs12 from nested_vmx_exit_handled_msr
author
Jan Kiszka
<jan.kiszka@siemens.com>
Mon, 11 Feb 2013 11:19:28 +0000
(12:19 +0100)
committer
Gleb Natapov
<gleb@redhat.com>
Thu, 14 Feb 2013 08:35:16 +0000
(10:35 +0200)
We already pass vmcs12 as argument.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Gleb Natapov <gleb@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 c7944782ecf644e6d56e5c7a4a5e549d9954f363..6667042714cc65e78208c517ccc0802a40dd4ccf 100644
(file)
--- a/
arch/x86/kvm/vmx.c
+++ b/
arch/x86/kvm/vmx.c
@@
-5920,7
+5920,7
@@
static bool nested_vmx_exit_handled_msr(struct kvm_vcpu *vcpu,
u32 msr_index = vcpu->arch.regs[VCPU_REGS_RCX];
gpa_t bitmap;
- if (!nested_cpu_has(
get_vmcs12(vcpu)
, CPU_BASED_USE_MSR_BITMAPS))
+ if (!nested_cpu_has(
vmcs12
, CPU_BASED_USE_MSR_BITMAPS))
return 1;
/*