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

2017-07-21 Thread Stefano Stabellini
On Fri, 21 Jul 2017, Julien Grall wrote: > > > @x86_cacheattrcan be 'uc', 'wc', 'wt', 'wp', 'wb' or 'suc'. > > > Default > > > is 'wb'. > > > > Also here, I would write: > > > > @x86_cacheattr Only 'wb' (write-back) is supported today. > > > > Like you wrote la

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

2017-07-21 Thread Julien Grall
Hi, On 18/07/17 19:30, Zhongze Liu wrote: 1. Motivation and Description Virtual machines use grant table hypercalls to setup a share page for inter-VMs communications. These hypercalls are u

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

2017-07-21 Thread Julien Grall
Hi, On 19/07/17 19:47, Stefano Stabellini wrote: On Wed, 19 Jul 2017, Zhongze Liu wrote: 1. Motivation and Description Virtual machines use grant table hypercalls to setup a share page for

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

2017-07-20 Thread Stefano Stabellini
On Thu, 20 Jul 2017, Zhongze Liu wrote: > >> where: > >> @id can be any string that matches the regexp "[^ > >> \t\n,]+" > >> and no logner than 128 characters > >> @begin/endcan be decimals or hexidemicals of the form > >> "0x2". > >>

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

2017-07-19 Thread Zhongze Liu
Hi Stefano, I missed some of your comments in the last reply. adding responses to them. 2017-07-20 2:47 GMT+08:00 Stefano Stabellini : > On Wed, 19 Jul 2017, Zhongze Liu wrote: >> >> 1. Motivation and Description >> ===

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

2017-07-19 Thread Zhongze Liu
2017-07-20 2:47 GMT+08:00 Stefano Stabellini : > On Wed, 19 Jul 2017, Zhongze Liu wrote: >> >> 1. Motivation and Description >> >> Virtual machines use grant table hypercalls to setup a share p

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

2017-07-19 Thread Stefano Stabellini
On Wed, 19 Jul 2017, Zhongze Liu wrote: > > 1. Motivation and Description > > Virtual machines use grant table hypercalls to setup a share page for > inter-VMs communications. These hypercalls

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

2017-07-18 Thread Zhongze Liu
Forget to restrict the possible values of begin/end. 2017-07-19 2:30 GMT+08:00 Zhongze Liu : > > 1. Motivation and Description > > Virtual machines use grant table hypercalls to setup a share

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

2017-07-18 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