diff options
Diffstat (limited to 'qemu-config.c')
-rw-r--r-- | qemu-config.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/qemu-config.c b/qemu-config.c index f5c1a12..bafaea2 100644 --- a/qemu-config.c +++ b/qemu-config.c @@ -152,6 +152,18 @@ QemuOptsList qemu_device_opts = { }, }; +QemuOptsList qemu_net_opts = { + .name = "net", + .head = QTAILQ_HEAD_INITIALIZER(qemu_net_opts.head), + .desc = { + /* + * no elements => accept any params + * validation will happen later + */ + { /* end of list */ } + }, +}; + QemuOptsList qemu_rtc_opts = { .name = "rtc", .head = QTAILQ_HEAD_INITIALIZER(qemu_rtc_opts.head), @@ -176,6 +188,7 @@ static QemuOptsList *lists[] = { &qemu_drive_opts, &qemu_chardev_opts, &qemu_device_opts, + &qemu_net_opts, &qemu_rtc_opts, NULL, }; |