diff options
author | Avi Kivity <avi@qumranet.com> | 2006-12-29 19:49:48 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-30 13:56:44 -0500 |
commit | 3bab1f5dda3443043cc8fe68c5ae75530339f28f (patch) | |
tree | d1b675e8f5328094c1a3d651da5e7563ad692252 /drivers/kvm/kvm.h | |
parent | 671d6564796e0c90398aab30f89b5e48fc5a3fbe (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.h | 5 |
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); | |||
374 | void set_cr8(struct kvm_vcpu *vcpu, unsigned long cr0); | 374 | void set_cr8(struct kvm_vcpu *vcpu, unsigned long cr0); |
375 | void lmsw(struct kvm_vcpu *vcpu, unsigned long msw); | 375 | void lmsw(struct kvm_vcpu *vcpu, unsigned long msw); |
376 | 376 | ||
377 | #ifdef CONFIG_X86_64 | 377 | int kvm_get_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 *pdata); |
378 | void set_efer(struct kvm_vcpu *vcpu, u64 efer); | 378 | int kvm_set_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 data); |
379 | #endif | ||
380 | 379 | ||
381 | void fx_init(struct kvm_vcpu *vcpu); | 380 | void fx_init(struct kvm_vcpu *vcpu); |
382 | 381 | ||