automation: add livepatch testing
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | automation/alpine: add elfutils-dev and coreutils for livepatch-build-toolsautomation/ | +4 | 2 replies | |
| 2/3 | livepatch: add a dummy hypercall for testing purposestools/ tools/ tools/ +6 more | +91 | 1 reply | |
| 3/3 | automation: add x86-64 livepatching testautomation/ automation/ automation/ +1 more | +108 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] automation: add livepatch testing
Hello,
The following series attempts to introduce some basic livepatch testing in the gitlab CI loop. Such testing will be more similar to what downstreams use, as the patch payload will be built using livepatch-build-tools.
A sample gitlab run can be found at:
https://gitlab.com/xen-project/people/royger/xen/-/pipelines/1082636267
The series introduces a new build and test steps.
Thanks, Roger.
Roger Pau Monne (3):
automation/alpine: add elfutils-dev and coreutils for
livepatch-build-tools
livepatch: add a dummy hypercall for testing purposes
automation: add x86-64 livepatching test
automation/build/alpine/3.18.dockerfile | 4 + automation/gitlab-ci/build.yaml | 8 ++ automation/gitlab-ci/test.yaml | 8 ++ automation/scripts/build | 13 +++ .../scripts/qemu-alpine-x86_64-livepatch.sh | 79 +++++++++++++++++++ tools/include/xenctrl.h | 3 + tools/libs/ctrl/xc_misc.c | 14 ++++ tools/misc/xen-livepatch.c | 25 ++++++ xen/common/Makefile | 2 +- xen/common/livepatch-test.c | 20 +++++ xen/common/livepatch.c | 4 + xen/include/public/sysctl.h | 7 ++ xen/include/xen/livepatch.h | 4 + xen/test/livepatch/patches/test1.patch | 13 +++ 14 files changed, 203 insertions(+), 1 deletion(-) create mode 100755 automation/scripts/qemu-alpine-x86_64-livepatch.sh create mode 100644 xen/common/livepatch-test.c create mode 100644 xen/test/livepatch/patches/test1.patch
Signature · 1 line
2.43.0