Re: [Xen-devel] [PATCH RFC 05/14] xen: vmx: Disable the 2M/1G superpage when SPP enabled

2017-10-25 Thread Yi Zhang
On 2017-10-24 at 11:43:45 -0600, Tamas K Lengyel wrote: > On Fri, Oct 20, 2017 at 2:44 AM, Yi Zhang wrote: > > On 2017-10-19 at 12:17:12 -0600, Tamas K Lengyel wrote: > >> On Thu, Oct 19, 2017 at 2:11 AM, Zhang Yi > >> wrote: > >> > From: Zhang Yi Z &g

Re: [Xen-devel] [PATCH RFC 05/14] xen: vmx: Disable the 2M/1G superpage when SPP enabled

2017-10-20 Thread Yi Zhang
On 2017-10-19 at 12:17:12 -0600, Tamas K Lengyel wrote: > On Thu, Oct 19, 2017 at 2:11 AM, Zhang Yi wrote: > > From: Zhang Yi Z > > > > Current we only support Sub-page Protection on the 4k > > page table. > > > > Signed-off-by: Zhang Yi Z > > --- > > xen/arch/x86/hvm/vmx/vmx.c | 6 ++ > >

Re: [Xen-devel] [PATCH RFC 08/14] xen: vmx: Added setup spp page structure.

2017-10-20 Thread Yi Zhang
On 2017-10-19 at 12:26:32 -0600, Tamas K Lengyel wrote: > > So nothing in this patch makes use of this function. Could you please > re-organize the patchset so this is included with the patch that > starts using it? > Yes, will follow up, Thanks for your review. Tamas. _

Re: [Xen-devel] [PATCH RFC 13/14] xen: tools: Introduce the set-subpage into xenctrl

2017-10-20 Thread Yi Zhang
On 2017-10-19 at 11:37:25 +0300, Razvan Cojocaru wrote: > Would you consider a small comment here explaining at least the access > parameter? Yes, Thanks Rezvan, will add some explanation. > > > Thanks, > Razvan ___ Xen-devel mailing list Xen-devel@l

Re: [Xen-devel] [PATCH RFC 09/14] xen: vmx: Introduce a Hyper call to set subpage

2017-10-20 Thread Yi Zhang
On 2017-10-19 at 12:34:07 -0600, Tamas K Lengyel wrote: > On Thu, Oct 19, 2017 at 2:13 AM, Zhang Yi wrote: > > From: Zhang Yi Z > > > > The Hypercall is defined as HVMOP_set_subpage > > Are there any expected use-cases where a HVM guest would need access > to this hypercall? Is spp compatible wi

Re: [Xen-devel] [PATCH RFC 14/14] xen: tools: Added xen-subpage tool.

2017-10-20 Thread Yi Zhang
On 2017-10-19 at 11:42:17 +0300, Razvan Cojocaru wrote: > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > + > > +#include > > + > > +#define DPRINTF(a, b...) fprintf(stderr, a, ##

Re: [Xen-devel] [PATCH RFC 00/14] Intel EPT-Based Sub-page Write Protection Support.

2017-10-20 Thread Yi Zhang
On 2017-10-19 at 12:07:44 +0300, Razvan Cojocaru wrote: > On 19.10.2017 11:04, Zhang Yi wrote: > > From: Zhang Yi Z > > > > Hi All, > > > > Here is a patch-series which adding EPT-Based Sub-page Write Protection > > Support. You can get It's software developer manuals from: > > > > https://sof