]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
KVM: Print data for unimplemented wrmsr
authorAvi Kivity <avi@qumranet.com>
Wed, 19 Dec 2007 10:02:40 +0000 (12:02 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 16:01:20 +0000 (18:01 +0200)
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>
arch/x86/kvm/x86.c

index fa9e42c037419e51c1831ea62ec53d73349dbc20..513258c797ca7d6333adbb04b0647177cf66d325 100644 (file)
@@ -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;