]> www.infradead.org Git - users/dwmw2/linux.git/commit
KVM: x86: get_msr support for HV_X64_MSR_APIC_ASSIST_PAGE
authorMike Waychison <mikew@google.com>
Thu, 21 Jul 2011 22:38:10 +0000 (15:38 -0700)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 22 Jul 2011 17:46:50 +0000 (14:46 -0300)
commit0945d4b2285c05789a2b9f159414acd195a8b820
tree8c8506a112175fc2b0206db06cb9f77c2ace3c99
parent8c99ce360904ba2f46d4840f1b8df7451331ea38
KVM: x86: get_msr support for HV_X64_MSR_APIC_ASSIST_PAGE

"get" support for the HV_X64_MSR_APIC_ASSIST_PAGE msr was missing, even
though it is explicitly enumerated as something the vmm should save in
msrs_to_save and reported to userland via the KVM_GET_MSR_INDEX_LIST
ioctl.

Add "get" support for HV_X64_MSR_APIC_ASSIST_PAGE.  We simply return the
guest visible value of this register, which seems to be correct as a set
on the register is validated for us already.

Signed-off-by: Mike Waychison <mikew@google.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c