> -----Original Message----- > From: Jan Beulich [mailto:[email protected]] > Sent: 03 January 2018 17:05 > To: Paul Durrant <[email protected]> > Cc: JulienGrall <[email protected]>; Andrew Cooper > <[email protected]>; George Dunlap > <[email protected]>; Ian Jackson <[email protected]>; Wei Liu > <[email protected]>; StefanoStabellini <[email protected]>; xen- > [email protected]; Tim (Xen.org) <[email protected]> > Subject: RE: [Xen-devel] [PATCH v17 06/11] x86/hvm/ioreq: add a new > mappable resource type... > > >>> On 03.01.18 at 17:48, <[email protected]> wrote: > >> -----Original Message----- > >> From: Xen-devel [mailto:[email protected]] On > Behalf > >> Of Jan Beulich > >> >>> On 03.01.18 at 17:06, <[email protected]> wrote: > >> >> From: Jan Beulich [mailto:[email protected]] > >> >> Sent: 03 January 2018 15:48 > >> >> >>> On 03.01.18 at 13:19, <[email protected]> wrote: > >> >> What is additionally confusing me is the page ownership: Wasn't > >> >> the (original) intention to make the pages owned by the emulator > >> >> domain rather than the guest? I seem to recall you referring to > >> >> restrictions in do_mmu_update(), but a domain should always be > >> >> able to map pages it owns, shouldn't it? > >> > > >> > I'm sure we had this discussion before. I am trying to make resource > >> mapping > >> > as uniform as possible so, like the grant table pages, the ioreq server > pages > >> > are assigned to the target domain. Otherwise the domain trying to map > >> > resources has know which actual domain they are assigned to, rather > than > >> the > >> > domain they relate to... which is pretty ugly. > >> > >> Didn't I suggest a slight change to the interface to actually make > >> this not as ugly? > > > > Yes, you did but I didn't really want to go that way unless I absolutely had > > to. If you'd really prefer things that way then I'll re-work the hypercall > > to > > allow the domain owning the resource pages to be passed back. Maybe it > will > > ultimately end up neater. > > A 3rd opinion wouldn't hurt before you invest much time. >
Andrew, Do you have any particular preferences on whether ioreq server pages are assigned to the tools domain or the target domain (the former requiring a tweak to the hypercall to pass back the owner of the resource pages)? Paul > Jan _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
