diff options
author | Zhang Xiantao <xiantao.zhang@intel.com> | 2007-12-14 02:49:26 +0100 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 16:58:10 +0100 |
commit | 77b4c255af34e73ea1efd1c3384bbe91361c81e6 (patch) | |
tree | 6e8e41d7489540a17853167de32f12fca4f904d7 /drivers/kvm/kvm.h | |
parent | KVM: Portability: Expand the KVM_VCPU_COMM in kvm_vcpu structure. (diff) | |
download | linux-77b4c255af34e73ea1efd1c3384bbe91361c81e6.tar.xz linux-77b4c255af34e73ea1efd1c3384bbe91361c81e6.zip |
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 { int singlestep; }; -struct kvm_vcpu_stat { - u32 pf_fixed; - u32 pf_guest; - u32 tlb_flush; - u32 invlpg; - - u32 exits; - u32 io_exits; - u32 mmio_exits; - u32 signal_exits; - u32 irq_window_exits; - u32 halt_exits; - u32 halt_wakeup; - u32 request_irq_exits; - u32 irq_exits; - u32 host_state_reload; - u32 efer_reload; - u32 fpu_reload; - u32 insn_emulation; - u32 insn_emulation_fail; -}; - /* * It would be nice to use something smarter than a linear search, TBD... * Thankfully we dont expect many devices to register (famous last words :), |