Re: [Xen-devel] [PATCH] x86/pvh: fix memory accounting for Dom0

2017-10-04 Thread Roger Pau Monné
On Wed, Oct 04, 2017 at 08:42:33AM +, Jan Beulich wrote: > >>> On 28.09.17 at 17:55, wrote: > > OK I think I'm starting to understand this. The need_paging thing it's > > only done if the page tables are not shared because the iommu_enabled > > has already reserved some memory for the page tab

Re: [Xen-devel] [PATCH] x86/pvh: fix memory accounting for Dom0

2017-10-04 Thread Jan Beulich
>>> On 28.09.17 at 17:55, wrote: > On Thu, Sep 28, 2017 at 03:39:08PM +, Roger Pau Monné wrote: >> On Thu, Sep 28, 2017 at 01:18:55PM +, Jan Beulich wrote: >> > >>> On 28.09.17 at 12:16, wrote: >> > > Make sure that the memory for the paging structures in case of a HVM >> > > Dom0 is subt

Re: [Xen-devel] [PATCH] x86/pvh: fix memory accounting for Dom0

2017-09-28 Thread Roger Pau Monné
On Thu, Sep 28, 2017 at 03:39:08PM +, Roger Pau Monné wrote: > On Thu, Sep 28, 2017 at 01:18:55PM +, Jan Beulich wrote: > > >>> On 28.09.17 at 12:16, wrote: > > > Make sure that the memory for the paging structures in case of a HVM > > > Dom0 is subtracted from the total amount of memory a

Re: [Xen-devel] [PATCH] x86/pvh: fix memory accounting for Dom0

2017-09-28 Thread Roger Pau Monné
On Thu, Sep 28, 2017 at 01:18:55PM +, Jan Beulich wrote: > >>> On 28.09.17 at 12:16, wrote: > > Make sure that the memory for the paging structures in case of a HVM > > Dom0 is subtracted from the total amount of memory available for Dom0 > > to use. Also take into account whether the IOMMU is

Re: [Xen-devel] [PATCH] x86/pvh: fix memory accounting for Dom0

2017-09-28 Thread Jan Beulich
>>> On 28.09.17 at 12:16, wrote: > Make sure that the memory for the paging structures in case of a HVM > Dom0 is subtracted from the total amount of memory available for Dom0 > to use. Also take into account whether the IOMMU is sharing the > page tables with HAP, or else also reserve some memory