[PATCH 0/3] automation: add livepatch testing

Roger Pau Monne posted 3 patches 5 months, 1 week ago
Failed in applying to current master (apply log)
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
[PATCH 0/3] automation: add livepatch testing
Posted by Roger Pau Monne 5 months, 1 week ago
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

-- 
2.43.0