Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV domain to map guest mfns

2017-09-27 Thread Paul Durrant
enproject.org > Subject: Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV > domain to map guest mfns > > >>> On 27.09.17 at 16:22, <paul.durr...@citrix.com> wrote: > >> From: Jan Beulich [mailto:jbeul...@suse.com] > >> Sent: 27 September 2017 1

Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV domain to map guest mfns

2017-09-27 Thread Jan Beulich
>>> On 27.09.17 at 16:22, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 27 September 2017 14:31 >> >>> On 27.09.17 at 14:49, wrote: >> > Ok, I'll claim the final cmd value then. >> >> Final? We've got 5 left (for a total of 3

Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV domain to map guest mfns

2017-09-27 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 27 September 2017 14:31 > To: Paul Durrant > Cc: Andrew Cooper ; xen- > de...@lists.xenproject.org > Subject: RE: [PATCH v7 01/12] x86/mm: allow a privileged PV

Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV domain to map guest mfns

2017-09-27 Thread Jan Beulich
>>> On 27.09.17 at 14:49, wrote: >> -Original Message- >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 27 September 2017 13:47 >> To: Paul Durrant >> Cc: Andrew Cooper ; xen- >>

Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV domain to map guest mfns

2017-09-27 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 27 September 2017 13:47 > To: Paul Durrant > Cc: Andrew Cooper ; xen- > de...@lists.xenproject.org > Subject: RE: [PATCH v7 01/12] x86/mm: allow a privileged PV

Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV domain to map guest mfns

2017-09-27 Thread Jan Beulich
>>> On 27.09.17 at 13:18, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 25 September 2017 14:03 >> >>> On 18.09.17 at 17:31, wrote: >> > -if ( (real_pg_owner == NULL) || (pg_owner == l1e_owner) || >> > +if (

Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV domain to map guest mfns

2017-09-27 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 25 September 2017 14:03 > To: Paul Durrant > Cc: Andrew Cooper ; xen- > de...@lists.xenproject.org > Subject: Re: [PATCH v7 01/12] x86/mm: allow a privileged PV

Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV domain to map guest mfns

2017-09-25 Thread Paul Durrant
t; >> Beulich > >> Sent: 25 September 2017 15:50 > >> To: Paul Durrant <paul.durr...@citrix.com> > >> Cc: Andrew Cooper <andrew.coop...@citrix.com>; xen- > >> de...@lists.xenproject.org > >> Subject: Re: [Xen-devel] [PATCH v7 01/12] x8

Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV domain to map guest mfns

2017-09-25 Thread Jan Beulich
..@citrix.com> >> Cc: Andrew Cooper <andrew.coop...@citrix.com>; xen- >> de...@lists.xenproject.org >> Subject: Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV >> domain to map guest mfns >> >> >>> On 25.09.17 at 16:42, <paul.durr...@

Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV domain to map guest mfns

2017-09-25 Thread Paul Durrant
enproject.org > Subject: Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV > domain to map guest mfns > > >>> On 25.09.17 at 16:42, <paul.durr...@citrix.com> wrote: > >> From: Jan Beulich [mailto:jbeul...@suse.com] > >> Sent: 25 Septe

Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV domain to map guest mfns

2017-09-25 Thread Jan Beulich
>>> On 25.09.17 at 16:42, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 25 September 2017 14:03 >> >>> On 18.09.17 at 17:31, wrote: >> The other aspect I don't understand is why this is needed for PV >> Dom0, but not for PVH.

Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV domain to map guest mfns

2017-09-25 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 25 September 2017 14:03 > To: Paul Durrant > Cc: Andrew Cooper ; xen- > de...@lists.xenproject.org > Subject: Re: [PATCH v7 01/12] x86/mm: allow a privileged PV

Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV domain to map guest mfns

2017-09-25 Thread Jan Beulich
>>> On 25.09.17 at 15:29, wrote: > On 25/09/17 14:02, Jan Beulich wrote: > On 18.09.17 at 17:31, wrote: >>> In the case where a PV domain is mapping guest resources then it needs make >>> the HYPERVISOR_mmu_update call using DOMID_SELF,

Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV domain to map guest mfns

2017-09-25 Thread Andrew Cooper
On 25/09/17 14:02, Jan Beulich wrote: On 18.09.17 at 17:31, wrote: >> In the case where a PV domain is mapping guest resources then it needs make >> the HYPERVISOR_mmu_update call using DOMID_SELF, rather than the guest >> domid, so that the passed in gmfn values are

Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV domain to map guest mfns

2017-09-25 Thread Jan Beulich
>>> On 18.09.17 at 17:31, wrote: > In the case where a PV domain is mapping guest resources then it needs make > the HYPERVISOR_mmu_update call using DOMID_SELF, rather than the guest > domid, so that the passed in gmfn values are correctly treated as mfns > rather than

Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV domain to map guest mfns

2017-09-19 Thread Jan Beulich
>>> On 19.09.17 at 14:51, wrote: > Ping? Your patch series hasn't been forgotten, but I can't currently predict when I would be able to look at it (together with the well over 100 other patches sitting in the queue). I can only promise: As soon as other, often higher

Re: [Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV domain to map guest mfns

2017-09-19 Thread Paul Durrant
Ping? > -Original Message- > From: Paul Durrant [mailto:paul.durr...@citrix.com] > Sent: 18 September 2017 16:31 > To: xen-de...@lists.xenproject.org > Cc: Paul Durrant ; Jan Beulich > ; Andrew Cooper > Subject:

[Xen-devel] [PATCH v7 01/12] x86/mm: allow a privileged PV domain to map guest mfns

2017-09-18 Thread Paul Durrant
In the case where a PV domain is mapping guest resources then it needs make the HYPERVISOR_mmu_update call using DOMID_SELF, rather than the guest domid, so that the passed in gmfn values are correctly treated as mfns rather than gfns present in the guest p2m. This patch removes a check which