Re: [PATCH v7 2/7] tools/xl: Add altp2m_count parameter

2025-07-09 Thread Anthony PERARD
On Mon, Jul 07, 2025 at 04:52:04PM +0200, Petr Beneš wrote: > On Mon, Jul 7, 2025 at 3:35 PM Anthony PERARD wrote: > > > > It seems that altp2m_count is going to be used for the creation of all > > guest, right? That is in addition to HVM, it will be also used for PV > > guest and on Arm, and any

Re: [PATCH v7 2/7] tools/xl: Add altp2m_count parameter

2025-07-07 Thread Petr Beneš
On Mon, Jul 7, 2025 at 3:35 PM Anthony PERARD wrote: > > It seems that altp2m_count is going to be used for the creation of all > guest, right? That is in addition to HVM, it will be also used for PV > guest and on Arm, and any other architectures that could be added. > > Anthony PERARD I'm sugge

Re: [PATCH v7 2/7] tools/xl: Add altp2m_count parameter

2025-07-07 Thread Anthony PERARD
On Tue, Jul 01, 2025 at 07:54:24PM +, Petr Beneš wrote: > diff --git a/tools/libs/light/libxl_create.c b/tools/libs/light/libxl_create.c > index 8a85fba1cf..acf7fd9837 100644 > --- a/tools/libs/light/libxl_create.c > +++ b/tools/libs/light/libxl_create.c > @@ -421,6 +421,15 @@ int libxl__domain

Re: [PATCH v7 2/7] tools/xl: Add altp2m_count parameter

2025-07-07 Thread Jan Beulich
On 01.07.2025 21:54, Petr Beneš wrote: > --- a/tools/libs/light/libxl_create.c > +++ b/tools/libs/light/libxl_create.c > @@ -421,6 +421,15 @@ int libxl__domain_build_info_setdefault(libxl__gc *gc, > return -ERROR_INVAL; > } > > +if (b_info->altp2m_count == LIBXL_ALTP2M_COUNT_DEF

Re: [PATCH v7 2/7] tools/xl: Add altp2m_count parameter

2025-07-02 Thread Nick Rosbrook
On Tue, Jul 1, 2025 at 3:54 PM Petr Beneš wrote: > > From: Petr Beneš > > Introduce a new altp2m_count parameter to control the maximum number of altp2m > views a domain can use. By default, if altp2m_count is unspecified and altp2m > is enabled, the value is set to 10, reflecting the legacy beha