qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 00/21] hw/uefi: add uefi variable service


From: Gerd Hoffmann
Subject: Re: [PATCH v2 00/21] hw/uefi: add uefi variable service
Date: Tue, 7 Jan 2025 16:51:55 +0100

  Hi,

> > The design idea is to reuse the request serialization protocol edk2 uses
> > for communication between SMM and non-SMM code, so large chunks of the
> > edk2 variable driver stack can be used unmodified.  Only the driver
> > which traps into SMM mode must be replaced by a driver which talks to
> > qemu instead.
> 
> In the coconut-svsm project there's a likely need for coconut to
> provide a UEFI variable store, since we can't store plain text
> variables in host context for confidential VMs.
> 
> Am I right in thinking that this design approach could be reused
> in coconut context with coconut providing the equivalent backend
> service, and EDK2 using the same driver to talk to either QEMU
> or Coconut's service  ?

Yes, that is the idea.  Right now the edk2 driver has two modes, one
talking to the isa device and one talking to the sysbus device.  Adding
a third mode which uses a svsm protocol should be easy.

Writing the efi variable service for coconut is the more challenging
item here.  /me plans to look into that later this year.

take care,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]