Re: [Xen-devel] [PATCH v8 3/8] libxl: support mapping static shared memory areas during domain creation

2018-10-31 Thread Ian Jackson
Julien Grall writes ("Re: [PATCH v8 3/8] libxl: support mapping static shared memory areas during domain creation"): > On 10/30/18 3:36 PM, Ian Jackson wrote: > > This cache policy stuff is odd. I couldn't see it being used by the > > hypervisor. Why is it even there ? > > We decided to not

Re: [Xen-devel] [PATCH v8 3/8] libxl: support mapping static shared memory areas during domain creation

2018-10-30 Thread Julien Grall
On 10/30/18 3:36 PM, Ian Jackson wrote: Stefano Stabellini writes ("[PATCH v8 3/8] libxl: support mapping static shared memory areas during domain creation"): +_hidden +bool libxl__arch_domain_support_sshm(const libxl_domain_build_info *b_info); + +_hidden +int

Re: [Xen-devel] [PATCH v8 3/8] libxl: support mapping static shared memory areas during domain creation

2018-10-30 Thread Ian Jackson
Stefano Stabellini writes ("[PATCH v8 3/8] libxl: support mapping static shared memory areas during domain creation"): > +_hidden > +bool libxl__arch_domain_support_sshm(const libxl_domain_build_info *b_info); > + > +_hidden > +int libxl__arch_domain_sshm_cachepolicy_setdefault(libxl_static_shm

Re: [Xen-devel] [PATCH v8 3/8] libxl: support mapping static shared memory areas during domain creation

2018-10-24 Thread Oleksandr Tyshchenko
Hi, Stefano On Tue, Oct 9, 2018 at 2:39 AM Stefano Stabellini wrote: > > From: Zhongze Liu > > Author: Zhongze Liu > > Add libxl__sshm_add to map shared pages from one DomU to another, The mapping > process involves the following steps: > > * Set defaults and check for further errors in the

[Xen-devel] [PATCH v8 3/8] libxl: support mapping static shared memory areas during domain creation

2018-10-08 Thread Stefano Stabellini
From: Zhongze Liu Author: Zhongze Liu Add libxl__sshm_add to map shared pages from one DomU to another, The mapping process involves the following steps: * Set defaults and check for further errors in the static_shm configs: overlapping areas, invalid ranges, duplicated master domain,