KVM: nSVM: remove HF_HIF_MASK
The L1 flags can be found in the save area of svm->nested.hsave, fish it from there so that there is one fewer thing to migrate. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
@@ -3105,7 +3105,7 @@ bool svm_interrupt_blocked(struct kvm_vcpu *vcpu)
|
||||
if (is_guest_mode(vcpu)) {
|
||||
/* As long as interrupts are being delivered... */
|
||||
if ((svm->nested.ctl.int_ctl & V_INTR_MASKING_MASK)
|
||||
? !(svm->vcpu.arch.hflags & HF_HIF_MASK)
|
||||
? !(svm->nested.hsave->save.rflags & X86_EFLAGS_IF)
|
||||
: !(kvm_get_rflags(vcpu) & X86_EFLAGS_IF))
|
||||
return true;
|
||||
|
||||
|
Reference in New Issue
Block a user