]> xenbits.xensource.com Git - xen.git/commit
libxl, docs: Add per-arch extra default paging memory
authorHenry Wang <Henry.Wang@arm.com>
Mon, 6 Jun 2022 06:17:27 +0000 (06:17 +0000)
committerJan Beulich <jbeulich@suse.com>
Tue, 11 Oct 2022 12:28:37 +0000 (14:28 +0200)
commit156a239ea288972425f967ac807b3cb5b5e14874
treeb26e7a85b3c2a9b91d6dc68fbd6788e2786940cf
parent8a2111250b424edc49c65c4d41b276766d30635c
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>
docs/man/xl.cfg.5.pod.in
tools/libs/light/libxl_arch.h
tools/libs/light/libxl_create.c