From: Roger Pau Monne <roger.pau@citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Roger Pau Monne <roger.pau@citrix.com>,
Doug Goldstein <cardoe@cardoe.com>,
Stefano Stabellini <sstabellini@kernel.org>, Wei Liu <wl@xen.org>,
Anthony PERARD <anthony.perard@citrix.com>,
Juergen Gross <jgross@suse.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
George Dunlap <george.dunlap@citrix.com>,
Jan Beulich <jbeulich@suse.com>, Julien Grall <julien@xen.org>,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
Ross Lagerwall <ross.lagerwall@citrix.com>
Subject: [PATCH 0/3] automation: add livepatch testing
Date: Thu, 23 Nov 2023 12:23:35 +0100 [thread overview]
Message-ID: <20231123112338.14477-1-roger.pau@citrix.com> (raw)
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
next reply other threads:[~2023-11-23 11:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-23 11:23 Roger Pau Monne [this message]
2023-11-23 11:23 ` [PATCH 1/3] automation/alpine: add elfutils-dev and coreutils for livepatch-build-tools Roger Pau Monne
2023-11-23 11:51 ` Andrew Cooper
2023-11-23 12:25 ` Roger Pau Monné
2023-11-23 11:23 ` [PATCH 2/3] livepatch: add a dummy hypercall for testing purposes Roger Pau Monne
2023-11-23 16:56 ` Andrew Cooper
2023-11-23 11:23 ` [PATCH 3/3] automation: add x86-64 livepatching test Roger Pau Monne
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231123112338.14477-1-roger.pau@citrix.com \
--to=roger.pau@citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=anthony.perard@citrix.com \
--cc=cardoe@cardoe.com \
--cc=george.dunlap@citrix.com \
--cc=jbeulich@suse.com \
--cc=jgross@suse.com \
--cc=julien@xen.org \
--cc=konrad.wilk@oracle.com \
--cc=ross.lagerwall@citrix.com \
--cc=sstabellini@kernel.org \
--cc=wl@xen.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.