diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-11-26 16:03:42 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-01-12 17:17:53 +0100 |
commit | 4d4545743f55b37d37535f7b32456b82c97efeb8 (patch) | |
tree | bb9fb85202ddd078b0c81f8dc4ff3873e11af290 /net | |
parent | 63fb2590839162afdf14d7c0ee02d460766c0956 (diff) |
qemu-option: move standard option definitions out of qemu-config.c
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/net.c | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -1054,3 +1054,29 @@ unsigned compute_mcast_idx(const uint8_t *ep) } return crc >> 26; } + +QemuOptsList qemu_netdev_opts = { + .name = "netdev", + .implied_opt_name = "type", + .head = QTAILQ_HEAD_INITIALIZER(qemu_netdev_opts.head), + .desc = { + /* + * no elements => accept any params + * validation will happen later + */ + { /* end of list */ } + }, +}; + +QemuOptsList qemu_net_opts = { + .name = "net", + .implied_opt_name = "type", + .head = QTAILQ_HEAD_INITIALIZER(qemu_net_opts.head), + .desc = { + /* + * no elements => accept any params + * validation will happen later + */ + { /* end of list */ } + }, +}; |