aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2008-09-01 08:57:51 -0400
committerAvi Kivity <avi@qumranet.com>2008-10-15 04:15:25 -0400
commitfa89a81766e33343fa8f0fe0e371819bf94a17a1 (patch)
treef6b1b9a1419313ebca9bbd608b6fd2c06168906b /include
parentd40a1ee4859c673677c9811ae84475c4051baca5 (diff)
KVM: Add statistics for guest irq injections
These can help show whether a guest is making progress or not. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h
index b6d26b80b75b..68a3ac13afce 100644
--- a/include/asm-x86/kvm_host.h
+++ b/include/asm-x86/kvm_host.h
@@ -413,6 +413,7 @@ struct kvm_vcpu_stat {
413 u32 insn_emulation; 413 u32 insn_emulation;
414 u32 insn_emulation_fail; 414 u32 insn_emulation_fail;
415 u32 hypercalls; 415 u32 hypercalls;
416 u32 irq_injections;
416}; 417};
417 418
418struct descriptor_table { 419struct descriptor_table {