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:
Jason Wang 2011-02-25 16:11:27 +08:00 committed by Aurelien Jarno
parent 05a7fcd081
commit 96c94b298f

4
net.c
View File

@ -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 */ }