[svsm-devel] Potential project on implementing AMD SEV emulation in QEMU
Tom Dohrmann
erbse.13 at gmx.de
Thu Apr 17 18:23:55 CEST 2025
Hi Stefano,
(I do realize I'm not the Tom you wanted to ask)
A while ago, there was a CTF event (hxp 38C3 CTF) where one of the
challenges was about attacking some code running inside an SEV guest.
The challenge authors implemented SME & SEV for QEMU's TCG backend, so
that players could participate even if they don't have the hardware.
Their patches are public
<https://2024.ctf.link/internal/challenge/6b7ff9d7-efc9-47fc-a06e-4ab9ae6d9eaa/>.
Their implementation is probably not complete/accurate and it's likely
not particularly cleanly implemented, but IIRC it was good enough to run
OVMF and Linux. It might be a good starting point for someone to look at
to figure out what needs to be done.
Regards,
Tom
On 4/17/25 17:26, Stefano Garzarella wrote:
> Hi Tom,
> yesterday in the Coconut-SVSM community call we talked about a
> potential project with the University of Pisa to emulate AMD
> SEV/SEV-ES/SEV-SNP support in QEMU.
>
> Joerg rightly suggested having a step-by-step approach, supporting SEV
> initially, as supporting SEV-SNP directly might be too much for a
> master's thesis (about 6 months of work).
>
> We wondered if you knew of any attempts already made in this regard,
> but especially if you think it's a feasible thing.
>
> Suggestions, ideas or partial works that can be reused are very welcome!
>
> Thanks,
> Stefano
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.8bytes.org/pipermail/svsm-devel/attachments/20250417/5012851d/attachment.htm>
More information about the Svsm-devel
mailing list