]> git.karo-electronics.de Git - karo-tx-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)
committerAvi Kivity <avi@redhat.com>
Mon, 29 Aug 2011 13:22:06 +0000 (16:22 +0300)
commitc7d8e15abc50e26e9e75a33d8af8c51dd0852297
tree36786a080119d8d08e2d0565bdc2ff77bf8a9de7
parentbcf79304f9de2f4aeb04577eecd35464844d7198
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