mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
kvm: Enable user space NMI injection for kvm guest
Make use of the new KVM_NMI IOCTL to send NMIs into the KVM guest if the user space raised them. (example: qemu monitor's "nmi" command) Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Acked-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
parent
b646968336
commit
276ce81563
2 changed files with 10 additions and 0 deletions
3
configure
vendored
3
configure
vendored
|
@ -1671,6 +1671,9 @@ if test "$kvm" != "no" ; then
|
|||
#if !defined(KVM_CAP_DESTROY_MEMORY_REGION_WORKS)
|
||||
#error Missing KVM capability KVM_CAP_DESTROY_MEMORY_REGION_WORKS
|
||||
#endif
|
||||
#if !defined(KVM_CAP_USER_NMI)
|
||||
#error Missing KVM capability KVM_CAP_USER_NMI
|
||||
#endif
|
||||
int main(void) { return 0; }
|
||||
EOF
|
||||
if test "$kerneldir" != "" ; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue