]> Git Repo - qemu.git/commit
vl: Simplify machine_parse()
authorMarkus Armbruster <[email protected]>
Fri, 5 Apr 2019 06:41:21 +0000 (14:41 +0800)
committerEduardo Habkost <[email protected]>
Thu, 25 Apr 2019 17:16:42 +0000 (14:16 -0300)
commit12cb82fdf01e9110455b2c55172c751531500d87
tree3723de233f6a004f1d60b4f9e9b96f60a00e8826
parentf2c93021380f13272d9cd1e3b693a654358b0a3c
vl: Simplify machine_parse()

Exploit that argument @name is nerver null.  Check is_help_option()
first, because that's what we do elsewhere.  If we (foolishly!)
defined a machine named "help", -machine help would now print help
instead of selecting the machine named "help".

Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Wei Yang <[email protected]>
Message-Id: <20190405064121[email protected]>
Signed-off-by: Eduardo Habkost <[email protected]>
vl.c
This page took 0.02476 seconds and 4 git commands to generate.