From 52fba28994e9d54e552264a76cda1834122f04d7 Mon Sep 17 00:00:00 2001 From: jljusten Date: Fri, 2 Nov 2012 18:28:17 +0000 Subject: 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 Reviewed-by: Laszlo Ersek git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13923 6f19259b-4bc3-4df7-8a09-765794883524 --- OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c') 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 @@ -1127,6 +1127,11 @@ Returns: // PlatformBdsConnectSequence (); + // + // Process QEMU's -kernel command line option + // + TryRunningQemuKernel (); + // // Give one chance to enter the setup if we // have the time out -- cgit v1.2.3