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

2017-10-26 Thread Jan Beulich
>>> On 17.10.17 at 15:24, wrote: > @@ -777,6 +887,52 @@ int hvm_get_ioreq_server_info(struct domain *d, > ioservid_t id, > return rc; > } > > +int hvm_get_ioreq_server_frame(struct domain *d, ioservid_t id, There's another silent truncation issue here: Iirc

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

2017-10-19 Thread Paul Durrant
.com>; > >> George Dunlap <george.dun...@citrix.com>; Andrew Cooper > >> <andrew.coop...@citrix.com>; Ian Jackson <ian.jack...@citrix.com>; > Tim > >> (Xen.org) <t...@xen.org>; Jan Beulich <jbeul...@suse.com> > >> Subject: Re:

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

2017-10-19 Thread Julien Grall
gt;; Wei Liu <wei.l...@citrix.com>; Konrad Rzeszutek Wilk <konrad.w...@oracle.com>; George Dunlap <george.dun...@citrix.com>; Andrew Cooper <andrew.coop...@citrix.com>; Ian Jackson <ian.jack...@citrix.com>; Tim (Xen.org) <t...@xen.org>; Jan Beulich <jbeul...@suse.

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

2017-10-19 Thread Paul Durrant
itrix.com>; Konrad Rzeszutek Wilk <konrad.w...@oracle.com>; > George Dunlap <george.dun...@citrix.com>; Andrew Cooper > <andrew.coop...@citrix.com>; Ian Jackson <ian.jack...@citrix.com>; Tim > (Xen.org) <t...@xen.org>; Jan Beulich <jbeul...@suse.com>

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

2017-10-19 Thread Julien Grall
Hi, On 17/10/17 14:24, Paul Durrant wrote: diff --git a/xen/common/memory.c b/xen/common/memory.c index cdd2e030cf..b27a71c4f1 100644 --- a/xen/common/memory.c +++ b/xen/common/memory.c @@ -1011,6 +1011,11 @@ static int acquire_resource( switch ( xmar.type ) { +case

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

2017-10-17 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