Re: [Xen-devel] [PATCH v1] x86/hvm: Expose MSR_SHADOW_GS_BASE

2017-09-01 Thread Razvan Cojocaru
On 01.09.2017 13:55, Andrew Cooper wrote: On 01/09/17 11:44, Alexandru Isaila wrote: diff --git a/xen/include/public/arch-x86/hvm/save.h b/xen/include/public/arch-x86/hvm/save.h index fd7bf3f..e6e8e87 100644 --- a/xen/include/public/arch-x86/hvm/save.h +++ b/xen/include/public/arch-x86/hvm/save

Re: [Xen-devel] [PATCH v1] x86/hvm: Expose MSR_SHADOW_GS_BASE

2017-09-01 Thread Jan Beulich
>>> On 01.09.17 at 12:44, wrote: > This patch is adding an new param in the hvm_hw_cpu structure > so it can be exposed to user space. But you don't say why. > --- a/xen/include/public/arch-x86/hvm/save.h > +++ b/xen/include/public/arch-x86/hvm/save.h > @@ -134,6 +134,8 @@ struct hvm_hw_cpu { >

Re: [Xen-devel] [PATCH v1] x86/hvm: Expose MSR_SHADOW_GS_BASE

2017-09-01 Thread Andrew Cooper
On 01/09/17 11:44, Alexandru Isaila wrote: > diff --git a/xen/include/public/arch-x86/hvm/save.h > b/xen/include/public/arch-x86/hvm/save.h > index fd7bf3f..e6e8e87 100644 > --- a/xen/include/public/arch-x86/hvm/save.h > +++ b/xen/include/public/arch-x86/hvm/save.h > @@ -134,6 +134,8 @@ struct hvm

[Xen-devel] [PATCH v1] x86/hvm: Expose MSR_SHADOW_GS_BASE

2017-09-01 Thread Alexandru Isaila
This patch is adding an new param in the hvm_hw_cpu structure so it can be exposed to user space. Signed-off-by: Alexandru Isaila --- xen/arch/x86/hvm/hvm.c | 4 xen/include/public/arch-x86/hvm/save.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/xen/arch/x86/hvm/hv