diff options
author | Zhang Xiantao <xiantao.zhang@intel.com> | 2007-12-13 20:49:26 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:58:10 -0500 |
commit | 77b4c255af34e73ea1efd1c3384bbe91361c81e6 (patch) | |
tree | 6e8e41d7489540a17853167de32f12fca4f904d7 /drivers/kvm/kvm.h | |
parent | d17fbbf7384d3b639f3c3299b5248ec4c4404556 (diff) |
KVM: Portability: Move kvm_vcpu_stat to x86.h
This patches moves kvm_vcpu_stat to x86.h, so every
arch can define its own kvm_vcpu_stat structure.
Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
Acked-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r-- | drivers/kvm/kvm.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index 039faa766c57..9ea7149e741d 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h | |||
@@ -47,28 +47,6 @@ struct kvm_guest_debug { | |||
47 | int singlestep; | 47 | int singlestep; |
48 | }; | 48 | }; |
49 | 49 | ||
50 | struct kvm_vcpu_stat { | ||
51 | u32 pf_fixed; | ||
52 | u32 pf_guest; | ||
53 | u32 tlb_flush; | ||
54 | u32 invlpg; | ||
55 | |||
56 | u32 exits; | ||
57 | u32 io_exits; | ||
58 | u32 mmio_exits; | ||
59 | u32 signal_exits; | ||
60 | u32 irq_window_exits; | ||
61 | u32 halt_exits; | ||
62 | u32 halt_wakeup; | ||
63 | u32 request_irq_exits; | ||
64 | u32 irq_exits; | ||
65 | u32 host_state_reload; | ||
66 | u32 efer_reload; | ||
67 | u32 fpu_reload; | ||
68 | u32 insn_emulation; | ||
69 | u32 insn_emulation_fail; | ||
70 | }; | ||
71 | |||
72 | /* | 50 | /* |
73 | * It would be nice to use something smarter than a linear search, TBD... | 51 | * It would be nice to use something smarter than a linear search, TBD... |
74 | * Thankfully we dont expect many devices to register (famous last words :), | 52 | * Thankfully we dont expect many devices to register (famous last words :), |