Re: [PATCH v4 29/31] hw/i386/sev: Allow use of pflash in conjunction with -bios

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 03, 2024 at 03:38:05PM GMT, Paolo Bonzini wrote:
> On Mon, Jun 3, 2024 at 1:55 PM Daniel P. Berrangé <berrange@xxxxxxxxxx> wrote:
> > I really wish we didn't have to introduce this though - is there really
> > no way to make it possible to use pflash for both CODE & VARS with SNP,
> > as is done with traditional VMs, so we don't diverge in setup, needing
> > yet more changes up the mgmt stack ?
> 
> No, you cannot use pflash for CODE in either SNP or TDX. The hardware
> does not support it.
> 
> One possibility is to only support non-pflash-based variable store.
> This is not yet in QEMU, but it is how both AWS and Google implemented
> UEFI variables and I think Gerd was going to work on it for QEMU.

Yes, working on and off on it.  Progress is slower that I wish it would
be due to getting side tracked into other important edk2 things ...

But, yes, the longer-term plan is that edk2 wouldn't manage the variable
store itself.  It will be either qemu (non-confidential setups), or the
svsm (confidential setups).

Where we are going to store svsm state (vtpm, efi vars, ...) is not
fully clear yet.  pflash is one option, but we are also checking out
alternatives like virtio-blk (via virtio-mmio).

take care,
  Gerd





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux