Files
acrn-hypervisor/devicemodel/include
Peter Fang 3d99082411 dm: support OVMF split images
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>
2020-11-11 09:53:28 +08:00
..
2020-09-01 09:30:08 +08:00
2018-11-30 14:55:17 +08:00
2020-11-11 09:53:28 +08:00
2019-05-24 11:51:00 +08:00
2018-12-07 20:21:33 +08:00
2019-05-07 09:08:50 +08:00
2020-10-30 15:45:31 +08:00
2020-09-01 09:30:08 +08:00
2020-11-02 15:56:30 +08:00
2019-05-24 11:51:00 +08:00
2020-11-11 09:53:28 +08:00
2019-01-23 10:33:28 +08:00
2019-03-21 10:28:17 +08:00
2019-06-20 11:21:51 +08:00
2018-12-27 09:58:20 +08:00
2019-10-11 13:20:19 +08:00