net: Add the missing option declaration of "vhostforce"
Signed-off-by: Jason Wang <jasowang@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
05a7fcd081
commit
96c94b298f
4
net.c
4
net.c
@ -968,6 +968,10 @@ static const struct {
|
|||||||
.name = "vhostfd",
|
.name = "vhostfd",
|
||||||
.type = QEMU_OPT_STRING,
|
.type = QEMU_OPT_STRING,
|
||||||
.help = "file descriptor of an already opened vhost net device",
|
.help = "file descriptor of an already opened vhost net device",
|
||||||
|
}, {
|
||||||
|
.name = "vhostforce",
|
||||||
|
.type = QEMU_OPT_BOOL,
|
||||||
|
.help = "force vhost on for non-MSIX virtio guests",
|
||||||
},
|
},
|
||||||
#endif /* _WIN32 */
|
#endif /* _WIN32 */
|
||||||
{ /* end of list */ }
|
{ /* end of list */ }
|
||||||
|
Loading…
Reference in New Issue
Block a user