AMDESE / AMDSEV

AMD Secure Encrypted Virtualization
272 stars 84 forks source link

XML and OVMF file for Windows VM on SEV? #209

Open FishmanL opened 3 months ago

FishmanL commented 3 months ago

Hello -- I'm trying to use this repo to launch a windows guest VM instead of a linux VM, and am running into several issues -- as best I can tell, the UEFI variables are misset somehow, so the VM is failing to boot (it boots fine outside SEV on the same host). Has anyone managed to find a working XML/OVMF setup for windows VMs? (Server 2019)

tlendacky commented 3 months ago

You're trying to run Windows with SEV enabled? Windows isn't enlightened to run under SEV as far as I'm aware, so I wouldn't expect it to be able to boot.

FishmanL commented 3 months ago

Wait, but Azure runs windows VMs under SEV

tlendacky commented 3 months ago

Yes, they use a paravisor, It is one of the goals of coconut-svsm, but not yet implemented, to be able to run un-enlightened guest OSes.

FishmanL commented 3 months ago

Ahhh, I see, thanks