mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
qemu-option: Add support for merged QemuOptsLists
Add support for option lists which are merged together, so that "-listname foo=bar -listname bar=baz" is equivalent to "-listname foo=bar,bar=baz" rather than generating two separate lists of options. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
This commit is contained in:
parent
a84fac1426
commit
da93318a9f
2 changed files with 7 additions and 1 deletions
|
@ -100,6 +100,7 @@ typedef struct QemuOptDesc {
|
|||
struct QemuOptsList {
|
||||
const char *name;
|
||||
const char *implied_opt_name;
|
||||
bool merge_lists; /* Merge multiple uses of option into a single list? */
|
||||
QTAILQ_HEAD(, QemuOpts) head;
|
||||
QemuOptDesc desc[];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue