<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Stefano,</p>
<p>(I do realize I'm not the Tom you wanted to ask)</p>
<p>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 <a
href="https://2024.ctf.link/internal/challenge/6b7ff9d7-efc9-47fc-a06e-4ab9ae6d9eaa/">public</a>.
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.</p>
<p>Regards,<br>
Tom</p>
<div class="moz-cite-prefix">On 4/17/25 17:26, Stefano Garzarella
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGxU2F4X_yQS9zR7u6cPmXzt8-BkPwWf0NQt2f=GVQBp1BOztw@mail.gmail.com">
<pre wrap="" class="moz-quote-pre">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
</pre>
</blockquote>
</body>
</html>