]> git.proxmox.com Git - mirror_qemu.git/commit - qemu-options.hx
vl: allow full-blown QemuOpts syntax for -global
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Apr 2015 12:16:19 +0000 (14:16 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 5 Jun 2015 15:36:39 +0000 (17:36 +0200)
commit3751d7c43f795b45ffdb9429cfb09c6beea55c68
treeaa83d7c326623137c1f25d1ea4618b1408d71e76
parentf71e42a5c98722d6faa5be84a34fbad90d27dc04
vl: allow full-blown QemuOpts syntax for -global

-global does not work for drivers that have a dot in their name, such as
cfi.pflash01.  This is just a parsing limitation, because such globals
can be declared easily inside a -readconfig file.

To allow this usage, support the full QemuOpts key/value syntax for -global
too, for example "-global driver=cfi.pflash01,property=secure,value=on".
The two formats do not conflict, because the key/value syntax does not have
a period before the first equal sign.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qdev-monitor.c
qemu-options.hx