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

Xenia Ragiadakou posted 2 patches 2 years, 4 months ago
Test gitlab-ci failed
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20220728075856.1175504-1-burzalodowa@gmail.com
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(-)
[PATCH v3 0/2] Create a test job for testing static memory on qemu
Posted by Xenia Ragiadakou 2 years, 4 months ago
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(-)

-- 
2.34.1