summaryrefslogtreecommitdiff
path: root/drivers/kvm/kvm.h
diff options
context:
space:
mode:
authorCarsten Otte <cotte@de.ibm.com>2007-10-10 17:16:19 +0200
committerAvi Kivity <avi@qumranet.com>2008-01-30 17:52:51 +0200
commit043405e10001fe7aae60c46a57189515f13a6468 (patch)
treea2f2e56117b200aeed70a853489b8e669a48fe15 /drivers/kvm/kvm.h
parent6fc138d2278078990f597cb1f62fde9e5b458f96 (diff)
downloadlwn-043405e10001fe7aae60c46a57189515f13a6468.tar.gz
lwn-043405e10001fe7aae60c46a57189515f13a6468.zip
KVM: Move x86 msr handling to new files x86.[ch]
Signed-off-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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index 3eaed4dafec7..9c9c1d7f5b30 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -653,6 +653,10 @@ int kvm_emulate_hypercall(struct kvm_vcpu *vcpu);
int kvm_fix_hypercall(struct kvm_vcpu *vcpu);
+long kvm_arch_dev_ioctl(struct file *filp,
+ unsigned int ioctl, unsigned long arg);
+__init void kvm_arch_init(void);
+
static inline void kvm_guest_enter(void)
{
current->flags |= PF_VCPU;