Avoid harmless unhandled wrmsr 0xc0010117 messages
commit98a7f1c7f29a6b1ff14255c103de9cd658e06d41
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 24 Jun 2009 13:38:34 +0000 (24 14:38 +0100)
committerMark McLoughlin <markmc@redhat.com>
Wed, 24 Jun 2009 16:39:34 +0000 (24 17:39 +0100)
treeeae091e5d12d947d9d6e9b7905e884a12086102f
parent75367ae8967ac606185e4062c13764ee01f13f49
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>
qemu-kvm-x86.c