Skip to content

Commit 06e1854

Browse files
Rtoaxbonzini
authored andcommitted
KVM: VMX: Fix indentation coding style issue
Code indentation should use tabs where possible. Signed-off-by: Rong Tao <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 77900bf commit 06e1854

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

arch/x86/kvm/vmx/vmx.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ void vmx_update_exception_bitmap(struct kvm_vcpu *vcpu)
874874
*/
875875
if (is_guest_mode(vcpu))
876876
eb |= get_vmcs12(vcpu)->exception_bitmap;
877-
else {
877+
else {
878878
int mask = 0, match = 0;
879879

880880
if (enable_ept && (eb & (1u << PF_VECTOR))) {
@@ -1282,7 +1282,7 @@ void vmx_prepare_switch_to_guest(struct kvm_vcpu *vcpu)
12821282
}
12831283
}
12841284

1285-
if (vmx->nested.need_vmcs12_to_shadow_sync)
1285+
if (vmx->nested.need_vmcs12_to_shadow_sync)
12861286
nested_sync_vmcs12_to_shadow(vcpu);
12871287

12881288
if (vmx->guest_state_loaded)
@@ -5049,10 +5049,10 @@ static int vmx_interrupt_allowed(struct kvm_vcpu *vcpu, bool for_injection)
50495049
if (to_vmx(vcpu)->nested.nested_run_pending)
50505050
return -EBUSY;
50515051

5052-
/*
5053-
* An IRQ must not be injected into L2 if it's supposed to VM-Exit,
5054-
* e.g. if the IRQ arrived asynchronously after checking nested events.
5055-
*/
5052+
/*
5053+
* An IRQ must not be injected into L2 if it's supposed to VM-Exit,
5054+
* e.g. if the IRQ arrived asynchronously after checking nested events.
5055+
*/
50565056
if (for_injection && is_guest_mode(vcpu) && nested_exit_on_intr(vcpu))
50575057
return -EBUSY;
50585058

0 commit comments

Comments
 (0)