... 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
>>> 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
.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
>>> 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
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
>>> 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
>> >> >>>
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
> >> >&