Eric Blake <ebl...@redhat.com> writes: > On 01/26/2012 12:34 PM, Scott Wood wrote: >> On 01/24/2012 12:23 PM, Stefan Weil wrote: >>> I'd prefer a different solution. As far as I have understood, >>> the dtb is only useful with a kernel, so it could be handled >>> as an optional attribute to the -kernel parameter: >>> >>> -kernel IMAGE[,dtb=DTB] >>> >>> Of course the same applies to -append, but that's a different issue. >> >> -initrd as well. >> >> This would mean you couldn't have a comma in a filename (shouldn't come >> up often, but still ugly). > > In other instances where you use a comma to separate arguments and also > want to accept commas in arbitrary file names, qemu has used the notion > of a double comma as being the escape sequence for a single comma in the > intended file name, rather than a separator for later arguments.
Use QemuOpts for NAME=VALUE,... arguments. Common code, common syntactic conventions.