mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 10:10:41 +00:00
0c49f872a1
This change adds a pflash implementation similar to the the one QEMU has[1] for the purpose of giving OVMF a place to store BIOS settings and UEFI variables. Unlike the QEMU version, though, this one only implements the parts that OVMF relies on[2], and is therefore much simpler. [1]: https://github.com/qemu/qemu/blob/HEAD/hw/block/pflash_cfi01.c [2]: https://github.com/tianocore/edk2/tree/master/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/QemuFlash.c TEST=tools/presubmit --all; boot VM under OVMF and confirmed UEFI variables can be set and are persistent BUG=b:238344840 Change-Id: I83bebb57006f39c6f0eb7ee4986c6af0e64de0bc Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3764374 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: Mike Gerow <gerow@google.com> Commit-Queue: Mike Gerow <gerow@google.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |