diff options
author | Avi Kivity <avi@qumranet.com> | 2007-12-19 05:02:40 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 11:01:20 -0500 |
commit | 565f1fbd9d2f766dcfed5db90b89ef80afe8b49a (patch) | |
tree | 617672239a66abdbfc0a9546d0792d4d2e0bc998 /arch/x86/kvm/x86.c | |
parent | dfc5aa00cbe888d3a9ea97775bbac74cb1c1a1d8 (diff) |
KVM: Print data for unimplemented wrmsr
This can help diagnosing what the guest is trying to do. In many cases
we can get away with partial emulation of msrs.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r-- | arch/x86/kvm/x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index fa9e42c03741..513258c797ca 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -499,7 +499,7 @@ int kvm_set_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 data) | |||
499 | vcpu->arch.ia32_misc_enable_msr = data; | 499 | vcpu->arch.ia32_misc_enable_msr = data; |
500 | break; | 500 | break; |
501 | default: | 501 | default: |
502 | pr_unimpl(vcpu, "unhandled wrmsr: 0x%x\n", msr); | 502 | pr_unimpl(vcpu, "unhandled wrmsr: 0x%x data %llx\n", msr, data); |
503 | return 1; | 503 | return 1; |
504 | } | 504 | } |
505 | return 0; | 505 | return 0; |