KVM: nSVM: remove unnecessary if
kvm_vcpu_apicv_active must be false when nested virtualization is enabled, so there is no need to check it in clgi_interception. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
此提交包含在:
@@ -2015,8 +2015,7 @@ static int clgi_interception(struct vcpu_svm *svm)
|
||||
disable_gif(svm);
|
||||
|
||||
/* After a CLGI no interrupts should come */
|
||||
if (!kvm_vcpu_apicv_active(&svm->vcpu))
|
||||
svm_clear_vintr(svm);
|
||||
svm_clear_vintr(svm);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
新增問題並參考
封鎖使用者