Skip to content
Snippets Groups Projects
Commit 654f06fc authored by Avi Kivity's avatar Avi Kivity
Browse files

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: default avatarAvi Kivity <avi@redhat.com>
parent 89a9fb78
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment