Avi Kivity wrote:
Well, that's certainly the wrmsr instruction. But I don't see how this can happen.

Can you patch set_efer() in x86.c to print the value of the efer argument and of efer_reserved_bits?

Yes, but apparently set_efer() is never called. To verify, I patched kvm_set_msr_common() to print the msr parameter:

kvm_set_msr_common: 0xc0010117
kvm_set_msr_common: 0x250
kvm_set_msr_common: 0x258
kvm_set_msr_common: 0x259
kvm_set_msr_common: 0x268
kvm_set_msr_common: 0x269
kvm_set_msr_common: 0x26a
kvm_set_msr_common: 0x26b
kvm_set_msr_common: 0x26c
kvm_set_msr_common: 0x26d
kvm_set_msr_common: 0x26e
kvm_set_msr_common: 0x26f
kvm_set_msr_common: 0x200
kvm_set_msr_common: 0x201
kvm_set_msr_common: 0x2ff
general protection fault: 0000 [#1] PREEMPT SMP
[...]

--Benjamin Gilbert
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to