mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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:
1 parent
5956e5b2d6
commit
3ce6f7bacc
7 files changed
+30
No files matched your search
@@ -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.
|
||||
|
||||