diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-08-27 23:28:30 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-08-27 23:28:30 +0000 |
commit | 2cd086a675535b6fc4cb54a75d10ca6f26a2da9e (patch) | |
tree | 69ef39c3dfc5ae6ab0189e3efdee60095764f9f5 /UefiCpuPkg/Universal | |
parent | 67fe5bed945d89370f8c054b670c9575749f7a59 (diff) | |
download | edk2-2cd086a675535b6fc4cb54a75d10ca6f26a2da9e.tar.gz edk2-2cd086a675535b6fc4cb54a75d10ca6f26a2da9e.tar.bz2 edk2-2cd086a675535b6fc4cb54a75d10ca6f26a2da9e.zip |
OvmfPkg: get boot order from QEMU
Set the boot order based on configuration retrieved from QEMU.
Attempt to retrieve the "bootorder" fw_cfg file from QEMU. Translate the
OpenFirmware device paths therein to UEFI device path fragments. Match the
translated fragments against the enumerated BootOptionList, and rewrite
the BootOrder NvVar so that it corresponds to the order described in
fw_cfg.
The user is expected to configure working boot options first.
Tested via virt-manager's boot order widget.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13683 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UefiCpuPkg/Universal')
0 files changed, 0 insertions, 0 deletions