All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Create a test job for testing static memory on qemu
@ 2022-07-26 19:06 Xenia Ragiadakou
  2022-07-26 19:07 ` [PATCH v2 1/2] automation: Remove XEN_CONFIG_EXPERT leftovers Xenia Ragiadakou
  2022-07-26 19:07 ` [PATCH v2 2/2] automation: arm64: Create a test job for testing static allocation on qemu Xenia Ragiadakou
  0 siblings, 2 replies; 5+ messages in thread
From: Xenia Ragiadakou @ 2022-07-26 19:06 UTC (permalink / raw)
  To: xen-devel; +Cc: Doug Goldstein, Stefano Stabellini

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               | 12 ++++++--
 automation/scripts/containerize        |  1 -
 automation/scripts/qemu-smoke-arm64.sh | 42 ++++++++++++++++++++++++--
 5 files changed, 67 insertions(+), 9 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-07-28  2:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-26 19:06 [PATCH v2 0/2] Create a test job for testing static memory on qemu Xenia Ragiadakou
2022-07-26 19:07 ` [PATCH v2 1/2] automation: Remove XEN_CONFIG_EXPERT leftovers Xenia Ragiadakou
2022-07-26 19:07 ` [PATCH v2 2/2] automation: arm64: Create a test job for testing static allocation on qemu Xenia Ragiadakou
2022-07-28  1:47   ` Stefano Stabellini
2022-07-28  2:44   ` Penny Zheng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.