diff options
author | Avi Kivity <avi@redhat.com> | 2010-11-01 23:20:48 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-01-12 11:29:04 +0200 |
commit | 30bd0c4c6c5aecc338ebf32e3a6e01c98f0a0b43 (patch) | |
tree | ddac5485f0a57d25096ee94126d74fc10d3fe85a /virt/kvm/kvm_main.c | |
parent | 64f638c7c44fa87e65f51eaf0f8302b9cba2d696 (diff) | |
download | linux-30bd0c4c6c5aecc338ebf32e3a6e01c98f0a0b43.tar.bz2 |
KVM: VMX: Disallow NMI while blocked by STI
While not mandated by the spec, Linux relies on NMI being blocked by an
IF-enabling STI. VMX also refuses to enter a guest in this state, at
least on some implementations.
Disallow NMI while blocked by STI by checking for the condition, and
requesting an interrupt window exit if it occurs.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions