diff options
Diffstat (limited to 'drivers/kvm/x86.h')
-rw-r--r-- | drivers/kvm/x86.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/kvm/x86.h b/drivers/kvm/x86.h index a0dd4473b8f8..4ca848536365 100644 --- a/drivers/kvm/x86.h +++ b/drivers/kvm/x86.h | |||
@@ -255,6 +255,27 @@ struct kvm_vcpu_arch { | |||
255 | struct x86_emulate_ctxt emulate_ctxt; | 255 | struct x86_emulate_ctxt emulate_ctxt; |
256 | }; | 256 | }; |
257 | 257 | ||
258 | struct kvm_vcpu_stat { | ||
259 | u32 pf_fixed; | ||
260 | u32 pf_guest; | ||
261 | u32 tlb_flush; | ||
262 | u32 invlpg; | ||
263 | |||
264 | u32 exits; | ||
265 | u32 io_exits; | ||
266 | u32 mmio_exits; | ||
267 | u32 signal_exits; | ||
268 | u32 irq_window_exits; | ||
269 | u32 halt_exits; | ||
270 | u32 halt_wakeup; | ||
271 | u32 request_irq_exits; | ||
272 | u32 irq_exits; | ||
273 | u32 host_state_reload; | ||
274 | u32 efer_reload; | ||
275 | u32 fpu_reload; | ||
276 | u32 insn_emulation; | ||
277 | u32 insn_emulation_fail; | ||
278 | }; | ||
258 | 279 | ||
259 | struct descriptor_table { | 280 | struct descriptor_table { |
260 | u16 limit; | 281 | u16 limit; |