Avoid harmless unhandled wrmsr 0xc0010117 messages
commit657729a3e9b058bf83a90ed2f0093cfce3963dc8
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 24 Jun 2009 13:38:34 +0000 (24 14:38 +0100)
committerMark McLoughlin <markmc@redhat.com>
Fri, 11 Sep 2009 10:38:03 +0000 (11 11:38 +0100)
tree4c774f597e7c2990a22235e75691f4977a1420f7
parente30559cad0e39d571adaaa3a864d54a10916d537
Avoid harmless unhandled wrmsr 0xc0010117 messages

Olders kernel which don't contain kvm.git commit
61a6bd672bda3b9468bf5895c1be085c4e481138 display the following message:

kvm: 32301: cpu0 unhandled wrmsr: 0xc0010117 data 0

When kvm_arch_load_regs is called. This is confusing in bug reports.

Avoid it by checking whether the host advertises the MSR, similarly to
how MSR_STAR is handled.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Fedora-patch: qemu-avoid-harmless-msr-warnings.patch
qemu-kvm-x86.c