diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2008-09-26 03:30:55 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-12-31 09:51:42 -0500 |
commit | c4abb7c9cde24b7351a47328ef866e6a2bbb1ad0 (patch) | |
tree | 85cef82232898397e645e53334655712af54085f /arch/x86/include/asm/kvm_host.h | |
parent | 26df99c6c5807115f06d4e1abae397b7f5f3e00c (diff) |
KVM: x86: Support for user space injected NMIs
Introduces the KVM_NMI IOCTL to the generic x86 part of KVM for
injecting NMIs from user space and also extends the statistic report
accordingly.
Based on the original patch by Sheng Yang.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_host.h')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index bfbbdea869bf..a40fa8478920 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h | |||
@@ -398,6 +398,7 @@ struct kvm_vcpu_stat { | |||
398 | u32 halt_exits; | 398 | u32 halt_exits; |
399 | u32 halt_wakeup; | 399 | u32 halt_wakeup; |
400 | u32 request_irq_exits; | 400 | u32 request_irq_exits; |
401 | u32 request_nmi_exits; | ||
401 | u32 irq_exits; | 402 | u32 irq_exits; |
402 | u32 host_state_reload; | 403 | u32 host_state_reload; |
403 | u32 efer_reload; | 404 | u32 efer_reload; |
@@ -406,6 +407,7 @@ struct kvm_vcpu_stat { | |||
406 | u32 insn_emulation_fail; | 407 | u32 insn_emulation_fail; |
407 | u32 hypercalls; | 408 | u32 hypercalls; |
408 | u32 irq_injections; | 409 | u32 irq_injections; |
410 | u32 nmi_injections; | ||
409 | }; | 411 | }; |
410 | 412 | ||
411 | struct descriptor_table { | 413 | struct descriptor_table { |