diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-11-02 18:28:17 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-11-02 18:28:17 +0000 |
commit | 52fba28994e9d54e552264a76cda1834122f04d7 (patch) | |
tree | d9860665969a4291c20604a80889b8b0b007631a /OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c | |
parent | 3c0a051fa2bc443cee65d25fda74771f47cbb8eb (diff) | |
download | edk2-platforms-52fba28994e9d54e552264a76cda1834122f04d7.tar.xz |
OvmfPkg: Add support for qemu's -kernel parameter
If QEMU's -kernel parameter was used, then download the
kernel from the FwCfg interface, and launch it. (See -kernel,
-initrd, -append) The application uses the LoadLinuxLib to boot
the kernel image.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13923 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c')
-rw-r--r-- | OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c index d6e1e93399..781b415178 100644 --- a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c +++ b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c @@ -1128,6 +1128,11 @@ Returns: PlatformBdsConnectSequence ();
//
+ // Process QEMU's -kernel command line option
+ //
+ TryRunningQemuKernel ();
+
+ //
// Give one chance to enter the setup if we
// have the time out
//
|