• Avi Kivity's avatar
    KVM: VMX: simplify NMI mask management · 654f06fc
    Avi Kivity authored
    Use vmx_set_nmi_mask() instead of open-coding management of
    the hardware bit and the software hint (nmi_known_unmasked).
    
    There's a slight change of behaviour when running without
    hardware virtual NMI support - we now clear the NMI mask if
    NMI delivery faulted in that case as well.  This improves
    emulation accuracy.
    Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    654f06fc
vmx.c 118 KB