aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/x86.c
diff options
context:
space:
mode:
authorZhang Xiantao <xiantao.zhang@intel.com>2007-11-14 07:09:30 -0500
committerAvi Kivity <avi@qumranet.com>2008-01-30 10:53:02 -0500
commit97896d04a14669b146c17d779b81ec7a339deeb3 (patch)
tree73853232d2f935fcc35ecf3cd21cfbb278e94be4 /drivers/kvm/x86.c
parentd825ed0a97b8e82597dd652bfe51fed3fa9b3c9a (diff)
KVM: Portability: Move kvm_x86_ops to x86.c
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/x86.c')
-rw-r--r--drivers/kvm/x86.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/kvm/x86.c b/drivers/kvm/x86.c
index 4282a0fb2962..2edc53ec8b3b 100644
--- a/drivers/kvm/x86.c
+++ b/drivers/kvm/x86.c
@@ -44,6 +44,8 @@
44 44
45#define STAT_OFFSET(x) offsetof(struct kvm_vcpu, stat.x) 45#define STAT_OFFSET(x) offsetof(struct kvm_vcpu, stat.x)
46 46
47struct kvm_x86_ops *kvm_x86_ops;
48
47struct kvm_stats_debugfs_item debugfs_entries[] = { 49struct kvm_stats_debugfs_item debugfs_entries[] = {
48 { "pf_fixed", STAT_OFFSET(pf_fixed) }, 50 { "pf_fixed", STAT_OFFSET(pf_fixed) },
49 { "pf_guest", STAT_OFFSET(pf_guest) }, 51 { "pf_guest", STAT_OFFSET(pf_guest) },