aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorJoao Martins <[email protected]>2018-06-13 06:10:37 -0400
committerDavid Woodhouse <[email protected]>2021-02-04 13:58:34 +0000
commit1232f8e6c9d15e6d043452f5d8895fcebc6a1ff2 (patch)
treef177ebe4451a0a7206312e7fb48dc22ac9af59e8 /lib/mpi/mpi-mod.c
parenta2855afc7ee88475e8feb16840b23f787bfc994d (diff)
KVM: x86/xen: fix Xen hypercall page msr handling
Xen usually places its MSR at 0x40000000 or 0x40000200 depending on whether it is running in viridian mode or not. Note that this is not ABI guaranteed, so it is possible for Xen to advertise the MSR some place else. Given the way xen_hvm_config() is handled, if the former address is selected, this will conflict with Hyper-V's MSR (HV_X64_MSR_GUEST_OS_ID) which unconditionally uses the same address. Given that the MSR location is arbitrary, move the xen_hvm_config() handling to the top of kvm_set_msr_common() before falling through. Signed-off-by: Joao Martins <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions