tools/xl: Add altp2m_count parameter

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 behavior.

This change is preparatory; it establishes the groundwork for the feature but
does not activate it.

Signed-off-by: Petr Beneš <w1benny@gmail.com>
Reviewed-by: Anthony PERARD <anthony.perard@vates.tech>
Acked-by: Nick Rosbrook <enr0n@ubuntu.com>
This commit is contained in:
Petr Beneš authored and Jan Beulich committed 2025-07-07 11:47:59 +02:00
1 parent 5956e5b2d6
commit 3ce6f7bacc
7 files changed
+30

No files matched your search

+7
View File
@@ -1257,6 +1257,13 @@ typedef struct libxl__ctx libxl_ctx;
*/
#define LIBXL_HAVE_ALTP2M 1
/*
* LIBXL_HAVE_ALTP2M_COUNT
* If this is defined, then libxl supports setting the maximum number of
* alternate p2m tables.
*/
#define LIBXL_HAVE_ALTP2M_COUNT 1
/*
* LIBXL_HAVE_REMUS
* If this is defined, then libxl supports remus.
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.