Re: [PATCH 4/8] x86/pv: handle reads to the PAT MSR

2020-08-18 Thread Roger Pau Monné
On Tue, Aug 18, 2020 at 02:50:24PM +0100, Andrew Cooper wrote: > On 17/08/2020 16:57, Roger Pau Monne wrote: > > The value in the PAT MSR is part of the ABI between Xen and PV guests, > > and there's no reason to not allow a PV guest to read it. > > This is faster than using RDMSR to find the cons

Re: [PATCH 4/8] x86/pv: handle reads to the PAT MSR

2020-08-18 Thread Andrew Cooper
On 17/08/2020 16:57, Roger Pau Monne wrote: > The value in the PAT MSR is part of the ABI between Xen and PV guests, > and there's no reason to not allow a PV guest to read it. This is faster than using RDMSR to find the constant. > Signed-off-by: Roger Pau Monné Acked-by: Andrew Cooper (Can

[PATCH 4/8] x86/pv: handle reads to the PAT MSR

2020-08-17 Thread Roger Pau Monne
The value in the PAT MSR is part of the ABI between Xen and PV guests, and there's no reason to not allow a PV guest to read it. Signed-off-by: Roger Pau Monné --- xen/arch/x86/pv/emul-priv-op.c | 4 1 file changed, 4 insertions(+) diff --git a/xen/arch/x86/pv/emul-priv-op.c b/xen/arch/x86