From: Anthony PERARD <anthony@xenproject.org>
To: "Roger Pau Monné" <roger.pau@citrix.com>
Cc: Teddy Astie <teddy.astie@vates.tech>,
xen-devel@lists.xenproject.org,
Andrew Cooper <andrew.cooper3@citrix.com>,
Anthony PERARD <anthony.perard@vates.tech>,
Michal Orzel <michal.orzel@amd.com>,
Jan Beulich <jbeulich@suse.com>, Julien Grall <julien@xen.org>,
Stefano Stabellini <sstabellini@kernel.org>
Subject: Re: [RFC PATCH] pvh: Introduce SIF_HVM_GHCB for SEV-ES/SNP guests
Date: Mon, 12 Jan 2026 13:47:50 +0100 [thread overview]
Message-ID: <aWTtdqs13dnRTpcO@l14> (raw)
In-Reply-To: <aWDoeuHWLQ04qdI0@Mac.lan>
On Fri, Jan 09, 2026 at 12:37:30PM +0100, Roger Pau Monné wrote:
> On Fri, Jan 09, 2026 at 10:31:57AM +0000, Teddy Astie wrote:
> > It would be easier to not use hvmloader, especially since only UEFI
> > supports SEV and guests would still need to support (Xen-specific) SEV
> > bits to begin with.
>
> I would be very happy to relegate hvmloader to be used with SeaBIOS
> only, and to load OVMF directly for HVM guests. But I don't know
> what's missing for OVMF to be capable of that. I would think not
> much, since it's already almost working for PVH guests AFAIK.
OvmfXen works in PVH, and you can start guest ;-), the last change was
to remove the use of the hypercall page so the shutdown hypercall could
be called from UEFI Runtime Service.
> Maybe PCI enumeration, but OVMF must have a way of doing that already
> for other platforms I expect.
Yes, that would probably be the main thing, I believe. It might just be
a setting to enable enumeration when OvmfXen is started via the PVH
entry point, I haven't really try to boot OVMF in HVM without hvmloader
yet, and we would need to change the tool stack to boot an HVM guest via
the PVH entry point.
But, I already have a prototype of OvmfXen that could boot (modified)
Linux in an SEV guest, it's based on SEV work from sometime ago so might
not work anymore (and I don't remember if linux could start userspace):
https://xenbits.xenproject.org/gitweb/?p=people/aperard/ovmf.git;a=log;h=refs/heads/wip.sev
Cheers,
--
Anthony PERARD
prev parent reply other threads:[~2026-01-12 12:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-28 12:49 [RFC PATCH] pvh: Introduce SIF_HVM_GHCB for SEV-ES/SNP guests Teddy Astie
2025-12-29 8:21 ` Jan Beulich
2025-12-29 12:39 ` Teddy Astie
2025-12-29 14:13 ` Jan Beulich
2026-01-05 13:50 ` Teddy Astie
2026-01-08 16:50 ` Teddy Astie
2026-01-08 17:44 ` Roger Pau Monné
2026-01-08 19:12 ` Teddy Astie
2026-01-09 8:57 ` Roger Pau Monné
2026-01-09 10:31 ` Teddy Astie
2026-01-09 11:37 ` Roger Pau Monné
2026-01-12 12:47 ` Anthony PERARD [this message]
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=aWTtdqs13dnRTpcO@l14 \
--to=anthony@xenproject.org \
--cc=andrew.cooper3@citrix.com \
--cc=anthony.perard@vates.tech \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=roger.pau@citrix.com \
--cc=sstabellini@kernel.org \
--cc=teddy.astie@vates.tech \
--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.