Skip to content

Create a test job for testing static memory on qemu

Xenia Ragiadakou xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 16 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2automation: Remove XEN_CONFIG_EXPERT leftoversautomation/build/README.md automation/scripts/build automation/scripts/containerize+2 -60 replies
2/2automation: arm64: Create a test job for testing static allocation on qemuautomation/gitlab-ci/test.yaml automation/scripts/build automation/scripts/qemu-smoke-arm64.sh+51 -21 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchStefano StabelliniPenny Zheng
1/2R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] Create a test job for testing static memory on qemu

This patch series
- removes all the references to the XEN_CONFIG_EXPERT environmental variable which is not used anymore
- creates a trivial arm64 test job that boots xen on qemu with dom0 and a direct mapped dom0less domu with static memory and verifies that domu's memory ranges are the same as the static memory ranges with which it was configured

The static memory test relies on the existing qemu-smoke-arm64.sh script. This script uses the kernel-5.9.9 from the test-artifacts container as domu kernel. This particular kernel does not work with dom0less enhanced enabled. More specifically, domu crashes when it attempts to dereference the xenstore interface which is still uninitialized,
So, qemu-smoke-arm64-gcc test, as well as its static memory version, fails.

To be able to test, I had to disable dom0less enhanced by adding the following commands to the script.

sed -i 's/xen,enhanced "enabled"/xen,enhanced "disabled"/g' binaries/boot.source mkimage -A arm64 -T script -C none -d binaries/boot.source binaries/boot.scr

These commands are not part of the patch.
Since dom0less enhanced is enabled by default, a newer kernel version would be more appropriate for testing dom0less.

Xenia Ragiadakou (2):
automation: Remove XEN_CONFIG_EXPERT leftovers
automation: arm64: Create a test job for testing static allocation on
qemu

 automation/build/README.md             |  3 ---
 automation/gitlab-ci/test.yaml         | 18 ++++++++++++++++++
 automation/scripts/build               | 14 +++++++++++---
 automation/scripts/containerize        |  1 -
 automation/scripts/qemu-smoke-arm64.sh | 25 ++++++++++++++++++++++++-
 5 files changed, 53 insertions(+), 8 deletions(-)
Signature · 1 line
2.34.1