summaryrefslogtreecommitdiff
path: root/qemu-option.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-02-08 05:41:37 +0000
committerAndrzej Zaborowski <balrogg@gmail.com>2012-02-17 09:08:22 +0100
commitda93318a9f0ff83e4a93e8755fa92291f9b8cc1b (patch)
tree2bb23fc889e4da2ccd7c327f45f0a1bd0e84617f /qemu-option.h
parenta84fac1426acd56f6dff4f6023611c1aefe748de (diff)
downloadqemu-da93318a9f0ff83e4a93e8755fa92291f9b8cc1b.tar.gz
qemu-da93318a9f0ff83e4a93e8755fa92291f9b8cc1b.tar.bz2
qemu-da93318a9f0ff83e4a93e8755fa92291f9b8cc1b.zip
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>
Diffstat (limited to 'qemu-option.h')
-rw-r--r--qemu-option.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-option.h b/qemu-option.h
index e6f61e6e35..3ca00c3cec 100644
--- a/qemu-option.h
+++ b/qemu-option.h
@@ -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[];
};