aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
authorGuo Chao <yan@linux.vnet.ibm.com>2012-06-28 03:16:43 -0400
committerMarcelo Tosatti <mtosatti@redhat.com>2012-07-20 14:19:48 -0400
commitc5ec2e56d0a654797ee43a31001738ccd05eef0b (patch)
treeabc62d44a82145545f7159bc5ff0c082ea98dbb2 /arch/x86/kvm/svm.c
parent0fa060714753ef65aef294b3462efb0212520933 (diff)
KVM: SVM: Fix typos
Signed-off-by: Guo Chao <yan@linux.vnet.ibm.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r--arch/x86/kvm/svm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index baead950d6c8..687d0c30e559 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -2063,7 +2063,7 @@ static inline bool nested_svm_intr(struct vcpu_svm *svm)
2063 if (svm->nested.intercept & 1ULL) { 2063 if (svm->nested.intercept & 1ULL) {
2064 /* 2064 /*
2065 * The #vmexit can't be emulated here directly because this 2065 * The #vmexit can't be emulated here directly because this
2066 * code path runs with irqs and preemtion disabled. A 2066 * code path runs with irqs and preemption disabled. A
2067 * #vmexit emulation might sleep. Only signal request for 2067 * #vmexit emulation might sleep. Only signal request for
2068 * the #vmexit here. 2068 * the #vmexit here.
2069 */ 2069 */
@@ -2409,7 +2409,7 @@ static bool nested_svm_vmrun_msrpm(struct vcpu_svm *svm)
2409{ 2409{
2410 /* 2410 /*
2411 * This function merges the msr permission bitmaps of kvm and the 2411 * This function merges the msr permission bitmaps of kvm and the
2412 * nested vmcb. It is omptimized in that it only merges the parts where 2412 * nested vmcb. It is optimized in that it only merges the parts where
2413 * the kvm msr permission bitmap may contain zero bits 2413 * the kvm msr permission bitmap may contain zero bits
2414 */ 2414 */
2415 int i; 2415 int i;