diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2019-12-11 14:26:22 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-21 13:57:32 +0100 |
commit | 67b0ae43df179fb095f32a011446e7a883758877 (patch) | |
tree | b1784bce5b040e427ef01915f83efbd14bc0e283 /arch/x86/kvm/vmx/nested.c | |
parent | 4d516fe7d38555e8fa08de5d68168b011a144fcb (diff) | |
download | lwn-67b0ae43df179fb095f32a011446e7a883758877.tar.gz lwn-67b0ae43df179fb095f32a011446e7a883758877.zip |
KVM: Fix some comment typos and missing parentheses
Fix some typos and add missing parentheses in the comments.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx/nested.c')
-rw-r--r-- | arch/x86/kvm/vmx/nested.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx/nested.c b/arch/x86/kvm/vmx/nested.c index 7b01ef1d87e6..63ab49de324d 100644 --- a/arch/x86/kvm/vmx/nested.c +++ b/arch/x86/kvm/vmx/nested.c @@ -3427,7 +3427,7 @@ vmentry_failed: /* * On a nested exit from L2 to L1, vmcs12.guest_cr0 might not be up-to-date - * because L2 may have changed some cr0 bits directly (CRO_GUEST_HOST_MASK). + * because L2 may have changed some cr0 bits directly (CR0_GUEST_HOST_MASK). * This function returns the new value we should put in vmcs12.guest_cr0. * It's not enough to just return the vmcs02 GUEST_CR0. Rather, * 1. Bits that neither L0 nor L1 trapped, were set directly by L2 and are now |