From: "Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: xen-devel@lists.xenproject.org,
Stefano Stabellini <sstabellini@kernel.org>,
Doug Goldstein <cardoe@cardoe.com>
Subject: Re: [PATCH 2/2] CI: enable FRED on PTL runner
Date: Fri, 10 Jul 2026 18:23:31 +0200 [thread overview]
Message-ID: <alEcgxY6fioaJFts@mail-itl> (raw)
In-Reply-To: <ccc8ef59-d956-4a70-9fb9-bba241087c16@citrix.com>
[-- Attachment #1: Type: text/plain, Size: 3543 bytes --]
On Fri, Jul 10, 2026 at 05:15:17PM +0100, Andrew Cooper wrote:
> On 09/07/2026 8:57 pm, Marek Marczykowski-Górecki wrote:
> > Add new job-level EXTRA_XEN_OPTS variable, in addition to CONSOLE_OPTS.
>
> This is stale, but easy to adjust.
What do you mean stale? It is yet another job variable for adding Xen
options (previously it was only CONSOLE_OPTS).
> > For now, add "fred" to all jobs running on PTL, but separate variable
> > allows customizing it later on per-job basis.
>
> "FRED is not yet enabled by default on Intel systems, but is expected to
> function. Explicitly turn it on for added test coverage in the short term."
>
> The final task is to make MSR_SPEC_CTRL virtualisation for PV guests
> work under FRED. Right now, PV guests will lose speculation settings
> they believe they have set, hence why FRED isn't supported on Intel yet.
>
> >
> > Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
> > ---
> > automation/gitlab-ci/test.yaml | 1 +
> > automation/scripts/qubes-x86_64.sh | 4 ++--
> > 2 files changed, 3 insertions(+), 2 deletions(-)
> >
> > diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml
> > index 7cc52146304e..61adc1baff30 100644
> > --- a/automation/gitlab-ci/test.yaml
> > +++ b/automation/gitlab-ci/test.yaml
> > @@ -177,6 +177,7 @@
> > PCIDEV: "56:00.0"
> > PCIDEV_INTR: "MSI-X"
> > CONSOLE_OPTS: "console=com1 com1=115200,8n1"
> > + EXTRA_XEN_OPTS: "fred"
> > SUT_ADDR: test-22.testnet
> > tags:
> > - qubes-hw22
> > diff --git a/automation/scripts/qubes-x86_64.sh b/automation/scripts/qubes-x86_64.sh
> > index 7a59fa5f1116..065f03931bea 100755
> > --- a/automation/scripts/qubes-x86_64.sh
> > +++ b/automation/scripts/qubes-x86_64.sh
> > @@ -260,14 +260,14 @@ TFTP=/scratch/gitlab-runner/tftp
> > CONTROLLER=control@thor.testnet
> >
> > echo "
> > -multiboot2 (http)/gitlab-ci/xen $CONSOLE_OPTS loglvl=all guest_loglvl=all dom0_mem=4G console_timestamps=boot watchdog $extra_xen_opts
> > +multiboot2 (http)/gitlab-ci/xen $CONSOLE_OPTS loglvl=all guest_loglvl=all dom0_mem=4G console_timestamps=boot watchdog ${EXTRA_XEN_OPTS-} $extra_xen_opts
> > module2 (http)/gitlab-ci/vmlinuz console=hvc0 root=/dev/ram0 earlyprintk=xen
> > module2 --nounzip (http)/gitlab-ci/initrd-dom0
> > " > $TFTP/grub.cfg
> >
> > echo "#!ipxe
> >
> > -kernel /gitlab-ci/xen $CONSOLE_OPTS loglvl=all guest_loglvl=all dom0_mem=4G console_timestamps=boot watchdog $extra_xen_opts || reboot
> > +kernel /gitlab-ci/xen $CONSOLE_OPTS loglvl=all guest_loglvl=all dom0_mem=4G console_timestamps=boot watchdog ${EXTRA_XEN_OPTS-} $extra_xen_opts || reboot
> > module /gitlab-ci/vmlinuz console=hvc0 root=/dev/ram0 earlyprintk=xen || reboot
> > module /gitlab-ci/initrd-dom0 || reboot
> > boot
>
> Wouldn't this be better?
>
> diff --git a/automation/scripts/qubes-x86_64.sh
> b/automation/scripts/qubes-x86_64.sh
> index 065f03931bea..9f8288cc02e3 100755
> --- a/automation/scripts/qubes-x86_64.sh
> +++ b/automation/scripts/qubes-x86_64.sh
> @@ -15,7 +15,7 @@ set -ex -o pipefail
> test_variant=$1
>
> ### defaults
> -extra_xen_opts=
> +extra_xen_opts="${EXTRA_XEN_OPTS-}"
> wait_and_wakeup=
> timeout=120
> domU_type="pvh"
>
>
> Everything is expected to append to this variable.
Well, currently nothing appends to it, all tests override it...
--
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2026-07-10 16:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-09 19:57 [PATCH 0/2] CI: new PTL runner Marek Marczykowski-Górecki
2026-07-09 19:57 ` [PATCH 1/2] CI: add " Marek Marczykowski-Górecki
2026-07-10 13:11 ` Andrew Cooper
2026-07-10 13:33 ` Marek Marczykowski-Górecki
2026-07-09 19:57 ` [PATCH 2/2] CI: enable FRED on " Marek Marczykowski-Górecki
2026-07-10 16:15 ` Andrew Cooper
2026-07-10 16:23 ` Marek Marczykowski-Górecki [this message]
2026-07-10 16:27 ` Andrew Cooper
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=alEcgxY6fioaJFts@mail-itl \
--to=marmarek@invisiblethingslab.com \
--cc=andrew.cooper3@citrix.com \
--cc=cardoe@cardoe.com \
--cc=sstabellini@kernel.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.