audk/OvmfPkg/Library/PlatformBdsLib
Laszlo Ersek 1c9135a288 OvmfPkg: BDS: QemuBootOrder: don't leak unreferenced boot options
The Boot#### variables that have become unreferenced in the new BootOrder
variable won't ever be automatically reused for booting. They are
"unreachable" resources that take up room in the variable store. Make an
effort to remove them.

This should plug the leak which, given sufficient reboots, exhausts the
variable store with stale Boot#### variables and renders the VM
unbootable.

Reported-by: Michael Chang <mchang@suse.com>
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://svn.code.sf.net/p/edk2/code/trunk/edk2@15327 6f19259b-4bc3-4df7-8a09-765794883524
2014-03-13 17:35:03 +00:00
..
BdsPlatform.c OvmfPkg: BDS: remove historic (now defunct) boot mode hack 2014-03-13 17:34:55 +00:00
BdsPlatform.h OvmfPkg: Add support for qemu's -kernel parameter 2012-11-02 18:28:17 +00:00
PlatformBdsLib.inf OvmfPkg/BdsPlatform: don't restore NvVars from disk when flash is present 2013-11-12 18:35:32 +00:00
PlatformData.c Update the copyright notice format 2010-04-28 12:43:04 +00:00
QemuBootOrder.c OvmfPkg: BDS: QemuBootOrder: don't leak unreferenced boot options 2014-03-13 17:35:03 +00:00
QemuBootOrder.h OvmfPkg: get boot order from QEMU 2012-08-27 23:28:30 +00:00
QemuKernel.c OvmfPkg: LoadLinuxLib: Zero kernel parameters instead of passing garbage 2013-01-16 06:49:45 +00:00