651c050398054e92a4e8ba7e0d0ad3475d4419 parent 89a9fb78b5bd8bece353449079726556ecab41df author Avi Kivity 1300885367 +0200 committer Avi Kivity 1305115017 -0400 KVM: VMX: simplify NMI mask management 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: Avi Kivity 4$