aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2006-12-29 19:49:48 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-30 13:56:44 -0500
commit3bab1f5dda3443043cc8fe68c5ae75530339f28f (patch)
treed1b675e8f5328094c1a3d651da5e7563ad692252 /drivers/kvm/kvm.h
parent671d6564796e0c90398aab30f89b5e48fc5a3fbe (diff)
[PATCH] KVM: Move common msr handling to arch independent code
Signed-off-by: Avi Kivity <avi@qumranet.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r--drivers/kvm/kvm.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index c2db4218d6cc..2670219a9264 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -374,9 +374,8 @@ void set_cr4(struct kvm_vcpu *vcpu, unsigned long cr0);
374void set_cr8(struct kvm_vcpu *vcpu, unsigned long cr0); 374void set_cr8(struct kvm_vcpu *vcpu, unsigned long cr0);
375void lmsw(struct kvm_vcpu *vcpu, unsigned long msw); 375void lmsw(struct kvm_vcpu *vcpu, unsigned long msw);
376 376
377#ifdef CONFIG_X86_64 377int kvm_get_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 *pdata);
378void set_efer(struct kvm_vcpu *vcpu, u64 efer); 378int kvm_set_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 data);
379#endif
380 379
381void fx_init(struct kvm_vcpu *vcpu); 380void fx_init(struct kvm_vcpu *vcpu);
382 381