vl: fix 'name' option to work with -readconfig
commit5b9d313e3f820f50129887f0a59e88dc376a8b1a
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 6 May 2014 11:15:55 +0000 (6 12:15 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 23 May 2014 20:44:12 +0000 (24 00:44 +0400)
treec01490729ee8020634a0487e837c85353af2a841
parent8cd05ab65a92a592e771a0a1847c7e5505d9a024
vl: fix 'name' option to work with -readconfig

The 'name' option silently failed when used in config files
( http://lists.gnu.org/archive/html/qemu-devel/2014-04/msg00378.html )

-readconfig stores the configuration read in QemuOpts.  Command line
option parsing should do the same, and no more.  In particular it should
not act upon the option.  That needs to be done separately, where both
command line and -readconfig settings are visible in QemuOpts.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reported-by: William Dauchy <william@gandi.net>
Tested-by: William Dauchy <william@gandi.net>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(mjt: added commit message by ambru@ and subject prefix)
vl.c