mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-04-05 03:46:17 +00:00
In addition to a single OVMF image (OVMF.fd), split images (OVMF_CODE.fd, OVMF_VARS.fd) can be used to facilitate VM management. From the OVMF Whitepaper: The variable store and the firmware executable are also available in the build output as separate files entitled: "OVMF_VARS.fd" and "OVMF_CODE.fd". This enables central management and updates of the firmware executable, while each virtual machine can retain its own variable store. An example to launch acrn-dm with the split images: --ovmf code=/usr/share/acrn/bios/OVMF_CODE.fd, \ vars=/usr/share/acrn/bios/OVMF_VARS.fd v1 -> v2: - use memory-mapped file I/O for writeback - use fcntl to lock OVMF image files Tracked-On: #5487 Signed-off-by: Peter Fang <peter.fang@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>
2.5 KiB
2.5 KiB