summaryrefslogtreecommitdiff
path: root/qemu-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-config.c')
-rw-r--r--qemu-config.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/qemu-config.c b/qemu-config.c
index bcfb6eb6e..3dd473a71 100644
--- a/qemu-config.c
+++ b/qemu-config.c
@@ -71,8 +71,22 @@ QemuOptsList qemu_drive_opts = {
},
};
+QemuOptsList qemu_device_opts = {
+ .name = "device",
+ .head = TAILQ_HEAD_INITIALIZER(qemu_device_opts.head),
+ .desc = {
+ /*
+ * no elements => accept any
+ * sanity checking will happen later
+ * when setting device properties
+ */
+ { /* end if list */ }
+ },
+};
+
static QemuOptsList *lists[] = {
&qemu_drive_opts,
+ &qemu_device_opts,
NULL,
};