summary refs log tree commit diff stats
path: root/hw/display/framebuffer.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2013-06-14 13:15:01 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2013-06-19 14:10:41 -0500
commit6ef4716cecdfa1b3794c1a33edba9840e1aa6b5f (patch)
treef3d69e6ccb94e82d186e2d1ce9c2cbde55dbb714 /hw/display/framebuffer.c
parentc1990468d5a13c8f1d9111fcca0a78a6adad062b (diff)
downloadfocaccia-qemu-6ef4716cecdfa1b3794c1a33edba9840e1aa6b5f.tar.gz
focaccia-qemu-6ef4716cecdfa1b3794c1a33edba9840e1aa6b5f.zip
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 'hw/display/framebuffer.c')
0 files changed, 0 insertions, 0 deletions