summary refs log tree commit diff stats
path: root/scripts/qapi.py
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2012-02-07 15:09:12 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2012-02-24 09:06:58 -0600
commitd9a5954dbff6c8149d02f6518726bd50d42cea42 (patch)
treed595a6d7c2c8d7fdddc58c5760fbb1cef4bdc493 /scripts/qapi.py
parentd7378ee1c159ee0bf6deffa9e87020cb820af45c (diff)
downloadfocaccia-qemu-d9a5954dbff6c8149d02f6518726bd50d42cea42.tar.gz
focaccia-qemu-d9a5954dbff6c8149d02f6518726bd50d42cea42.zip
vl.c: Error locations for options using add_device_config()
These are -bt, -serial, -virtcon, -parallel, -debugcon, -usbdevice.
Improves messages emitted via proper error reporting interfaces.  For
instance:

    $ qemu-system-x86_64 -nodefaults -S -usb -usbdevice net:vlan=xxx
    qemu-system-x86_64: Parameter 'vlan' expects a number

becomes:

    qemu-system-x86_64: -usbdevice net:vlan=xxx: Parameter 'vlan' expects a number

Many more remain unimproved, because they're fprintf()ed.  The next
few commits will take care of that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions