Re: [Xen-devel] [RFC v4]Proposal to allow setting up shared memory areas between VMs from xl config file

2017-08-02 Thread Edgar E. Iglesias
On Wed, Aug 02, 2017 at 07:10:25PM +0100, Julien Grall wrote: > Hi, > > On 01/08/17 00:53, Stefano Stabellini wrote: > >On Mon, 31 Jul 2017, Edgar E. Iglesias wrote: > > @role Can only be 'master' or 'slave', it defaults to > > 'slave'. > > > > @prot

Re: [Xen-devel] [RFC v4]Proposal to allow setting up shared memory areas between VMs from xl config file

2017-08-02 Thread Julien Grall
Hi, On 01/08/17 00:53, Stefano Stabellini wrote: On Mon, 31 Jul 2017, Edgar E. Iglesias wrote: @role Can only be 'master' or 'slave', it defaults to 'slave'. @prot When @role = master, this means the largest set of stage-2 permission

Re: [Xen-devel] [RFC v4]Proposal to allow setting up shared memory areas between VMs from xl config file

2017-08-01 Thread Zhongze Liu
Hi Edgar, Thank you for being interested in this project. 2017-08-01 5:55 GMT+08:00 Edgar E. Iglesias : > On Mon, Jul 31, 2017 at 02:30:47PM -0700, Stefano Stabellini wrote: >> On Mon, 31 Jul 2017, Edgar E. Iglesias wrote: >> > On Fri, Jul 28, 2017 at 09:03:15PM +0800, Zhongze Liu wrote: >> > > =

Re: [Xen-devel] [RFC v4]Proposal to allow setting up shared memory areas between VMs from xl config file

2017-07-31 Thread Stefano Stabellini
On Mon, 31 Jul 2017, Edgar E. Iglesias wrote: > > > > @role Can only be 'master' or 'slave', it defaults to > > > > 'slave'. > > > > > > > > @prot When @role = master, this means the largest set > > > > of > > > > stage-2 permission fla

Re: [Xen-devel] [RFC v4]Proposal to allow setting up shared memory areas between VMs from xl config file

2017-07-31 Thread Edgar E. Iglesias
On Mon, Jul 31, 2017 at 02:30:47PM -0700, Stefano Stabellini wrote: > On Mon, 31 Jul 2017, Edgar E. Iglesias wrote: > > On Fri, Jul 28, 2017 at 09:03:15PM +0800, Zhongze Liu wrote: > > > > > > 1. Motivation and Description > > > > Hi, > > > > I

Re: [Xen-devel] [RFC v4]Proposal to allow setting up shared memory areas between VMs from xl config file

2017-07-31 Thread Stefano Stabellini
On Mon, 31 Jul 2017, Edgar E. Iglesias wrote: > On Fri, Jul 28, 2017 at 09:03:15PM +0800, Zhongze Liu wrote: > > > > 1. Motivation and Description > > Hi, > > I think this looks quite useful. I have a few comments inline. Hi Edgar, thanks for

Re: [Xen-devel] [RFC v4]Proposal to allow setting up shared memory areas between VMs from xl config file

2017-07-31 Thread Edgar E. Iglesias
On Fri, Jul 28, 2017 at 09:03:15PM +0800, Zhongze Liu wrote: > > 1. Motivation and Description Hi, I think this looks quite useful. I have a few comments inline. > > Virtual machines use gr

Re: [Xen-devel] [RFC v4]Proposal to allow setting up shared memory areas between VMs from xl config file

2017-07-31 Thread Stefano Stabellini
On Mon, 31 Jul 2017, Zhongze Liu wrote: > I'm extremely sorry that I mistakenly copied and pasted an immediate > version of the proposal here. As you might have already noticed, some > of the content obviously conflicts with itself. Please see the new one below. > And some typo's and indentation is

Re: [Xen-devel] [RFC v4]Proposal to allow setting up shared memory areas between VMs from xl config file

2017-07-31 Thread Stefano Stabellini
On Mon, 31 Jul 2017, Wei Liu wrote: > On Mon, Jul 31, 2017 at 01:09:04AM +0800, Zhongze Liu wrote: > > > > @cache_policyCan only appear when @role = master. > >The stage-2 cacheability/shareability attributes of the > >shared memory area. Currently, on

Re: [Xen-devel] [RFC v4]Proposal to allow setting up shared memory areas between VMs from xl config file

2017-07-31 Thread Wei Liu
On Mon, Jul 31, 2017 at 01:09:04AM +0800, Zhongze Liu wrote: > > @cache_policyCan only appear when @role = master. >The stage-2 cacheability/shareability attributes of the >shared memory area. Currently, only two policies are >suppo

Re: [Xen-devel] [RFC v4]Proposal to allow setting up shared memory areas between VMs from xl config file

2017-07-30 Thread Zhongze Liu
I'm extremely sorry that I mistakenly copied and pasted an immediate version of the proposal here. As you might have already noticed, some of the content obviously conflicts with itself. Please see the new one below. And some typo's and indentation issues are also fixed. Sorry again for my mistake.

[Xen-devel] [RFC v4]Proposal to allow setting up shared memory areas between VMs from xl config file

2017-07-28 Thread Zhongze Liu
1. Motivation and Description Virtual machines use grant table hypercalls to setup a share page for inter-VMs communications. These hypercalls are used by all PV protocols today. However, very