]> git.proxmox.com Git - qemu.git/commit
qemu-option: Move the implied first name into QemuOptsList
authorMarkus Armbruster <armbru@redhat.com>
Wed, 10 Feb 2010 18:52:18 +0000 (19:52 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 16 Mar 2010 16:45:34 +0000 (17:45 +0100)
commit8212c64f0e1b32300b7ec4e79885a0caf6f521a6
tree2faf279be4942f2c30b535f508cf51ee88a82844
parent01e7f18869c9ee4c84793f4a39ec1f5f4128a0aa
qemu-option: Move the implied first name into QemuOptsList

We sometimes permit omitting the first option name, for example
-device foo is short for -device driver=foo.  The name to use
("driver" in the example) is passed as argument to qemu_opts_parse().
For each QemuOptsList, we use at most one such name.

Move the name into QemuOptsList, and pass whether to permit the
abbreviation.  This ensures continued consistency, and simplifies the
commit after next in this series.
hw/pci-hotplug.c
hw/qdev.c
hw/usb-net.c
net.c
qemu-config.c
qemu-option.c
qemu-option.h
vl.c