summaryrefslogtreecommitdiffstats
path: root/drivers/kvm/x86.c
diff options
context:
space:
mode:
authorZhang Xiantao <xiantao.zhang@intel.com>2007-11-14 20:09:30 +0800
committerAvi Kivity <avi@qumranet.com>2008-01-30 17:53:02 +0200
commit97896d04a14669b146c17d779b81ec7a339deeb3 (patch)
tree73853232d2f935fcc35ecf3cd21cfbb278e94be4 /drivers/kvm/x86.c
parentd825ed0a97b8e82597dd652bfe51fed3fa9b3c9a (diff)
downloadop-kernel-dev-97896d04a14669b146c17d779b81ec7a339deeb3.zip
op-kernel-dev-97896d04a14669b146c17d779b81ec7a339deeb3.tar.gz
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 4282a0f..2edc53e 100644
--- a/drivers/kvm/x86.c
+++ b/drivers/kvm/x86.c
@@ -44,6 +44,8 @@
#define STAT_OFFSET(x) offsetof(struct kvm_vcpu, stat.x)
+struct kvm_x86_ops *kvm_x86_ops;
+
struct kvm_stats_debugfs_item debugfs_entries[] = {
{ "pf_fixed", STAT_OFFSET(pf_fixed) },
{ "pf_guest", STAT_OFFSET(pf_guest) },
OpenPOWER on IntegriCloud