On Thu, Jan 26, 2012 at 08:40:02AM +0100, Markus Armbruster wrote: > Cleaner than this ad hoc overloading of the filename argument would be: > > * Separate option for fd: -readconfig-fd FD > > * Use the general syntax for NAME=VALUE arguments: -readconfig > path=FNAME -readonfig fd=FD > > With QemuOpts, can make "path" the implied_opt_name so that > -readconfig FNAME still works. Need to escape ',' and '=' in > filenames, but that's common in qemu command syntax.
I really think this option is better and cleaner. There's no reason to invent a new mini-language for argument syntax if we already have one. -- Eduardo