diff options
author | Henry Wang <Henry.Wang@arm.com> | 2022-06-06 06:17:27 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-10-11 14:28:37 +0200 |
commit | 156a239ea288972425f967ac807b3cb5b5e14874 (patch) | |
tree | b26e7a85b3c2a9b91d6dc68fbd6788e2786940cf /docs | |
parent | 8a2111250b424edc49c65c4d41b276766d30635c (diff) | |
download | xen-156a239ea288972425f967ac807b3cb5b5e14874.tar.gz |
libxl, docs: Add per-arch extra default paging memory
This commit adds a per-arch macro `EXTRA_DEFAULT_PAGING_MEM_MB`
to the default paging memory size, in order to cover the p2m
pool for extended regions of a xl-based guest on Arm.
For Arm, the extra default paging memory is 128MB.
For x86, the extra default paging memory is zero, since there
are no extended regions on x86.
Also update the xl.cfg documentation to add Arm documentation
according to code changes.
This is part of CVE-2022-33747 / XSA-409.
Signed-off-by: Henry Wang <Henry.Wang@arm.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/man/xl.cfg.5.pod.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/man/xl.cfg.5.pod.in b/docs/man/xl.cfg.5.pod.in index b2901e04cf..31e58b73b0 100644 --- a/docs/man/xl.cfg.5.pod.in +++ b/docs/man/xl.cfg.5.pod.in @@ -2725,6 +2725,11 @@ are not using hardware assisted paging (i.e. you are using shadow mode) and your guest workload consists of a very large number of similar processes then increasing this value may improve performance. +On Arm, this field is used to determine the size of the guest P2M pages +pool, and the default value is the same as x86 HAP mode, plus 512KB to +cover the extended regions. Users should adjust this value if bigger +P2M pool size is needed. + =back =head2 Device-Model Options |