Skip to content
Snippets Groups Projects
Commit 3751d7c4 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

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: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent f71e42a5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment