[Xen-devel] [PATCH v16 06/11] x86/hvm/ioreq: add a new mappable resource type...

2017-12-15 Thread Paul Durrant
... XENMEM_resource_ioreq_server This patch adds support for a new resource type that can be mapped using the XENMEM_acquire_resource memory op. If an emulator makes use of this resource type then, instead of mapping gfns, the IOREQ server will allocate pages from the heap. These pages will never

Re: [Xen-devel] [PATCH v16 06/11] x86/hvm/ioreq: add a new mappable resource type...

2017-12-20 Thread Jan Beulich
>>> On 15.12.17 at 11:41, wrote: > +static int hvm_alloc_ioreq_mfn(struct hvm_ioreq_server *s, bool buf) > +{ > +struct hvm_ioreq_page *iorp = buf ? &s->bufioreq : &s->ioreq; > + > +if ( iorp->page ) > +{ > +/* > + * If a guest frame has already been mapped (which may h

Re: [Xen-devel] [PATCH v16 06/11] x86/hvm/ioreq: add a new mappable resource type...

2017-12-20 Thread Paul Durrant
.org) ; JulienGrall > ; xen-devel@lists.xenproject.org > Subject: Re: [Xen-devel] [PATCH v16 06/11] x86/hvm/ioreq: add a new > mappable resource type... > > >>> On 15.12.17 at 11:41, wrote: > > +static int hvm_alloc_ioreq_mfn(struct hvm_ioreq_server *s, bool bu

Re: [Xen-devel] [PATCH v16 06/11] x86/hvm/ioreq: add a new mappable resource type...

2017-12-21 Thread Jan Beulich
>>> On 20.12.17 at 18:02, wrote: >> From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf >> Of Jan Beulich >> Sent: 20 December 2017 16:35 >> >>> On 15.12.17 at 11:41, wrote: >> > +static int hvm_alloc_ioreq_mfn(struct hvm_ioreq_server *s, bool buf) >> > +{ >> > +struct h

Re: [Xen-devel] [PATCH v16 06/11] x86/hvm/ioreq: add a new mappable resource type...

2017-12-21 Thread Paul Durrant
im (Xen.org) > Subject: RE: [Xen-devel] [PATCH v16 06/11] x86/hvm/ioreq: add a new > mappable resource type... > > >>> On 20.12.17 at 18:02, wrote: > >> From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On > Behalf > >> Of Jan Beulich &g

Re: [Xen-devel] [PATCH v16 06/11] x86/hvm/ioreq: add a new mappable resource type...

2017-12-21 Thread Jan Beulich
>>> On 21.12.17 at 11:01, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 21 December 2017 09:47 >> >>> On 20.12.17 at 18:02, wrote: >> >> From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On >> Behalf >> >> Of Jan Beulich >> >> Sent: 20 December 2017 16:35 >> >> >>>

Re: [Xen-devel] [PATCH v16 06/11] x86/hvm/ioreq: add a new mappable resource type...

2017-12-21 Thread Paul Durrant
n.org) > Subject: RE: [Xen-devel] [PATCH v16 06/11] x86/hvm/ioreq: add a new > mappable resource type... > > >>> On 21.12.17 at 11:01, wrote: > >> From: Jan Beulich [mailto:jbeul...@suse.com] > >> Sent: 21 December 2017 09:47 > >> >&