Re: [Xen-devel] [PATCH v3 7/8] x86/mm: handle foreign mappings in p2m_entry_modify

2019-02-18 Thread George Dunlap
On 2/18/19 11:05 AM, Roger Pau Monné wrote: > On Fri, Feb 15, 2019 at 07:15:53PM +0100, George Dunlap wrote: >> >> >>> On Feb 15, 2019, at 2:18 PM, Roger Pau Monne wrote: >>> >>> So that the specific handling can be removed from >>> atomic_write_ept_entry and be shared with npt and shadow code.

Re: [Xen-devel] [PATCH v3 7/8] x86/mm: handle foreign mappings in p2m_entry_modify

2019-02-18 Thread Roger Pau Monné
On Fri, Feb 15, 2019 at 07:15:53PM +0100, George Dunlap wrote: > > > > On Feb 15, 2019, at 2:18 PM, Roger Pau Monne wrote: > > > > So that the specific handling can be removed from > > atomic_write_ept_entry and be shared with npt and shadow code. > > > > This commit also removes the check

Re: [Xen-devel] [PATCH v3 7/8] x86/mm: handle foreign mappings in p2m_entry_modify

2019-02-15 Thread George Dunlap
> On Feb 15, 2019, at 2:18 PM, Roger Pau Monne wrote: > > So that the specific handling can be removed from > atomic_write_ept_entry and be shared with npt and shadow code. > > This commit also removes the check that prevent non-ept PVH dom0 from > mapping foreign pages. > > Signed-off-by:

[Xen-devel] [PATCH v3 7/8] x86/mm: handle foreign mappings in p2m_entry_modify

2019-02-15 Thread Roger Pau Monne
So that the specific handling can be removed from atomic_write_ept_entry and be shared with npt and shadow code. This commit also removes the check that prevent non-ept PVH dom0 from mapping foreign pages. Signed-off-by: Roger Pau Monné --- Cc: George Dunlap Cc: Jan Beulich Cc: Andrew Cooper