[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
- [PATCH v2 13/21] hw/uefi: add var-service-json.c + qapi for NV vars., (continued)
- [PATCH v2 13/21] hw/uefi: add var-service-json.c + qapi for NV vars., Gerd Hoffmann, 2025/01/07
- [PATCH v2 17/21] hw/uefi: add uefi-vars-sysbus device, Gerd Hoffmann, 2025/01/07
- [PATCH v2 16/21] hw/uefi: add to meson, Gerd Hoffmann, 2025/01/07
- [PATCH v2 18/21] hw/uefi: add uefi-vars-isa device, Gerd Hoffmann, 2025/01/07
- [PATCH v2 20/21] docs: add uefi variable service documentation, Gerd Hoffmann, 2025/01/07
- [PATCH v2 21/21] hw/uefi: add MAINTAINERS entry, Gerd Hoffmann, 2025/01/07
- [PATCH v2 19/21] hw/arm: add uefi variable support to virt machine type, Gerd Hoffmann, 2025/01/07
- Re: [PATCH v2 00/21] hw/uefi: add uefi variable service, Daniel P . Berrangé, 2025/01/07
- Re: [PATCH v2 00/21] hw/uefi: add uefi variable service,
Gerd Hoffmann <=
- Re: [PATCH v2 00/21] hw/uefi: add uefi variable service, Marc-André Lureau, 2025/01/08