Re: [Xen-devel] memaccess: skipping mem_access_send_req

2015-04-17 Thread Gareth Stockwell
On Wed, Apr 15, 2015 at 10:26:52, Ian Campbell wrote: > > We would like to use memaccess to perform (1) - but rather than > > pausing the VCPU in (2), instead simply directly inject the > > exception into the VCPU. > > That is, into the VCPUs whose permissions have been modified behind > its back a

Re: [Xen-devel] memaccess: skipping mem_access_send_req

2015-04-17 Thread Gareth Stockwell
On Fri, Apr 10, 2015 at 17:03:26, Andrew Cooper wrote: > Are you perhaps looking for something similar to Intel #VE support? Yes, in that we want a way to notify a guest that it has made an access that violated a stage-2 / EPT permission. However, for our purposes a trap into the hypervisor foll

Re: [Xen-devel] [Xen-users] Grant reference batch transmission

2015-03-12 Thread Gareth Stockwell
Hi Ian, Thanks for your reply. On Tue, Mar 10, 2015 at 16:22:40, Ian Campbell wrote: > > > What is the recommended way for the donor to transmit a batch of > > grant references? I assume that this requires the donor to pack > > references into an index page, grant foreign access to the index and

Re: [Xen-devel] [Xen-users] Grant reference batch transmission

2015-03-11 Thread Gareth Stockwell
On Wed, Mar 11, 2015 at 10:54:25, Ian Campbell wrote: > > > What sorts of batch sizes are you expecting to see in your use case? > > > > We need to share hundreds of MB, so (assuming a 4kB guest page size) > > the batch size can be thousands of grant references. > > FWIW, the granularity of a gref

Re: [Xen-devel] [Xen-users] Grant reference batch transmission

2015-03-11 Thread Gareth Stockwell
On Wed, Mar 11, 2015 at 10:24:48, Ian Campbell wrote: > > I think this gives us two options for grant reference batch transmission: > > > > 1. Send the grant references via the ring buffer. > > This doesn't require any additional allocations, but means that if > > the number of grant references in