diff options
author | Markus Armbruster <armbru@redhat.com> | 2013-06-14 13:15:01 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-06-19 14:10:41 -0500 |
commit | 6ef4716cecdfa1b3794c1a33edba9840e1aa6b5f (patch) | |
tree | f3d69e6ccb94e82d186e2d1ce9c2cbde55dbb714 /util/qemu-option.c | |
parent | c1990468d5a13c8f1d9111fcca0a78a6adad062b (diff) | |
download | hqemu-6ef4716cecdfa1b3794c1a33edba9840e1aa6b5f.zip hqemu-6ef4716cecdfa1b3794c1a33edba9840e1aa6b5f.tar.gz |
vl: Clean up parsing of -boot option argument
Commit 3d3b8303 threw in some QemuOpts parsing without replacing the
existing ad hoc parser, resulting in a confusing mess. Clean it up.
Two user-visible changes:
1. Invalid options are reported more nicely. Before:
qemu: unknown boot parameter 'x' in 'x=y'
After:
qemu-system-x86_64: -boot x=y: Invalid parameter 'x'
2. If -boot is given multiple times, options accumulate, just like for
-machine. Before, only options order, once and menu accumulated.
For the other ones, all but the first -boot in non-legacy syntax
got simply ignored.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Message-id: 1371208516-7857-2-git-send-email-armbru@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'util/qemu-option.c')
0 files changed, 0 insertions, 0 deletions