From: Avi Kivity Date: Wed, 19 Dec 2007 10:02:40 +0000 (+0200) Subject: KVM: Print data for unimplemented wrmsr X-Git-Tag: v2.6.25-rc1~1138^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=565f1fbd9d2f766dcfed5db90b89ef80afe8b49a;p=platform%2Fkernel%2Flinux-3.10.git 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 --- diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index fa9e42c..513258c 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) vcpu->arch.ia32_misc_enable_msr = data; break; default: - pr_unimpl(vcpu, "unhandled wrmsr: 0x%x\n", msr); + pr_unimpl(vcpu, "unhandled wrmsr: 0x%x data %llx\n", msr, data); return 1; } return 0;