From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=36636 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7oG2-00053H-IV for qemu-devel@nongnu.org; Thu, 07 Apr 2011 08:24:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7oG0-0003Y8-Ix for qemu-devel@nongnu.org; Thu, 07 Apr 2011 08:24:18 -0400 Received: from mail-ww0-f53.google.com ([74.125.82.53]:56854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7oG0-0003Xf-Cx for qemu-devel@nongnu.org; Thu, 07 Apr 2011 08:24:16 -0400 Received: by wwj40 with SMTP id 40so2783690wwj.10 for ; Thu, 07 Apr 2011 05:24:15 -0700 (PDT) Subject: Re: [Qemu-devel] [PATCH] hw: improve multiboot module loading Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Ralf Ramsauer In-Reply-To: <7CF0A1FA-F21A-4F3A-87D4-A62F1E4B21E6@googlemail.com> Date: Thu, 7 Apr 2011 14:24:13 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <312edea8efadfde52c4c6d267c924cf2.squirrel@humppa.name> <03A8D429-04D0-42D9-A664-7C52B3A4F812@suse.de> <7f0b8ad36b8e8d1828f0dfc1803c0da0.squirrel@humppa.name> <7CF0A1FA-F21A-4F3A-87D4-A62F1E4B21E6@googlemail.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers Hello again, there's another problem with parsing the initrd string: If you want to start qemu with ... -initrd "mod1 arg=3Dfoo,bar , mod2 = arg=3Dbar,foo" it won't work The string is separated at every comma, arguments containing a comma are = misinterpreted. So we'd think about another way delivering the arguments to = load_multiboot. -initrd is used passing multiboot modules, but multiboot modules aren't = really initrd's Multiboot modules are only loaded when qemu identifies the kernel as a = Multiboot kernel. It would be much easier to pass the modules to qemu using a commandline = argument like -multiboot. e.g. qemu -kernel mymultibootkern -module "1.mod arg=3Dbla" -module "2.mod = arg=3Dfoo" Well i didn't look at the global command line parsing of qemu, and i = don't know how difficult it would be to realize this. Anyone ideas? -- Ralf=