aboutsummaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2011-02-25 16:11:27 +0800
committerAurelien Jarno <aurelien@aurel32.net>2011-03-06 20:15:31 +0100
commit96c94b298f99d6edf4e49d03cc8458f5b6e9d5f0 (patch)
tree945ac6c3ccd6a586314b30e2dc0c5a5f229b1256 /net.c
parent05a7fcd08189300fc89d841c2e4c522226afece7 (diff)
downloadqemu-96c94b298f99d6edf4e49d03cc8458f5b6e9d5f0.zip
qemu-96c94b298f99d6edf4e49d03cc8458f5b6e9d5f0.tar.gz
qemu-96c94b298f99d6edf4e49d03cc8458f5b6e9d5f0.tar.bz2
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>
Diffstat (limited to 'net.c')
-rw-r--r--net.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/net.c b/net.c
index 54e8992..ddcca97 100644
--- a/net.c
+++ b/net.c
@@ -968,7 +968,11 @@ static const struct {
.name = "vhostfd",
.type = QEMU_OPT_STRING,
.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 */
{ /* end of list */ }
},