]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/x86: Don't try to write syscall-related MSRs for PV guests
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Mon, 21 Sep 2015 13:09:28 +0000 (09:09 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 5 Feb 2016 11:43:39 +0000 (03:43 -0800)
commit068f3ab47e7e0b74587ee61e4ab4dde025a62c87
tree0bccde905943b040e8efd081e9ac9da7bae2395e
parent99ebc931d2066f511fc287dd76aa6f9be801d650
xen/x86: Don't try to write syscall-related MSRs for PV guests

For PV guests these registers are set up by hypervisor and thus
should not be written by the guest. The comment in xen_write_msr_safe()
says so but we still write the MSRs, causing the hypervisor to
print a warning.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
(cherry picked from commit 2ecf91b6d8b0ee8ef38aa7ea2a0fe0cd57b6ca50)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
(cherry picked from commit c8411fc452a0ff2a535525bfea9e266b234c34c8)
arch/x86/xen/enlighten.c