]> 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)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 30 Nov 2015 19:52:07 +0000 (14:52 -0500)
commitc8411fc452a0ff2a535525bfea9e266b234c34c8
tree3f6a36d2b20e980844be4b160f8677d36d486ede
parent8e28e5e7031f3333e26141a86e46583c04b895c7
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>
arch/x86/xen/enlighten.c