Re: [Xen-devel] [PATCH v5 12/12] x86/hvm/ioreq: add a new mappable resource type...

2017-09-11 Thread Wei Liu
On Fri, Sep 08, 2017 at 04:21:37PM +0100, Paul Durrant wrote: > +static int hvm_ioreq_server_alloc_pages(struct hvm_ioreq_server *s) > +{ > +int rc = -ENOMEM; > + Pointless initialisation. With this fixed: Reviewed-by: Wei Liu

[Xen-devel] [PATCH v5 12/12] x86/hvm/ioreq: add a new mappable resource type...

2017-09-08 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