commit | 654f06fc651b01782015185e5b049197255463a3 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Wed Mar 23 15:02:47 2011 +0200 |
committer | Avi Kivity <avi@redhat.com> | Wed May 11 07:56:57 2011 -0400 |
tree | b6651c050398054e92a4e8ba7e0d0ad3475d4419 | |
parent | 89a9fb78b5bd8bece353449079726556ecab41df [diff] |
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 <avi@redhat.com>