File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -874,7 +874,7 @@ void vmx_update_exception_bitmap(struct kvm_vcpu *vcpu)
874
874
*/
875
875
if (is_guest_mode (vcpu ))
876
876
eb |= get_vmcs12 (vcpu )-> exception_bitmap ;
877
- else {
877
+ else {
878
878
int mask = 0 , match = 0 ;
879
879
880
880
if (enable_ept && (eb & (1u << PF_VECTOR ))) {
@@ -1282,7 +1282,7 @@ void vmx_prepare_switch_to_guest(struct kvm_vcpu *vcpu)
1282
1282
}
1283
1283
}
1284
1284
1285
- if (vmx -> nested .need_vmcs12_to_shadow_sync )
1285
+ if (vmx -> nested .need_vmcs12_to_shadow_sync )
1286
1286
nested_sync_vmcs12_to_shadow (vcpu );
1287
1287
1288
1288
if (vmx -> guest_state_loaded )
@@ -5049,10 +5049,10 @@ static int vmx_interrupt_allowed(struct kvm_vcpu *vcpu, bool for_injection)
5049
5049
if (to_vmx (vcpu )-> nested .nested_run_pending )
5050
5050
return - EBUSY ;
5051
5051
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
+ */
5056
5056
if (for_injection && is_guest_mode (vcpu ) && nested_exit_on_intr (vcpu ))
5057
5057
return - EBUSY ;
5058
5058
You can’t perform that action at this time.
0 commit comments