]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 28 Sep 2015 13:48:52 +0000 (14:48 +0100)
commit2ecf91b6d8b0ee8ef38aa7ea2a0fe0cd57b6ca50
treee854923e5165a1f27f9781345bd74c54c9a30a7d
parent24f775a6605a8ffc697c0767fc7ea85656ddb958
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>
arch/x86/xen/enlighten.c