Two bugfixes, and a test for some basic behaviour.
https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/2218133231
Andrew Cooper (4):
xen/domain: Disallow XENMEM_claim_pages on dying domains
tools/libxc: Delete ENOSYS squashing in xc_domain_claim_pages()
tools/tests: Sort Makefile
tools/tests: Memory Claims
tools/libs/ctrl/xc_domain.c | 9 +-
tools/tests/Makefile | 12 +-
tools/tests/mem-claim/.gitignore | 1 +
tools/tests/mem-claim/Makefile | 38 +++++
tools/tests/mem-claim/test-mem-claim.c | 190 +++++++++++++++++++++++++
xen/common/memory.c | 3 +
6 files changed, 240 insertions(+), 13 deletions(-)
create mode 100644 tools/tests/mem-claim/.gitignore
create mode 100644 tools/tests/mem-claim/Makefile
create mode 100644 tools/tests/mem-claim/test-mem-claim.c
base-commit: 46f3ed0d53db6daf38c230dff0d2910bcb61fbe2
--
2.39.5