aboutsummaryrefslogtreecommitdiff
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:16:49 +0100
commit2288eb3af2506a6950a6e3993c0e0cd0b0ad212b (patch)
treef88167af45038b3fd65b806aee36652949c557d3
parentecebecffe3cbf73bd1a02148c186c0611a68b9b2 (diff)
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> (cherry picked from commit 96c94b298f99d6edf4e49d03cc8458f5b6e9d5f0)
-rw-r--r--net.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/net.c b/net.c
index 9ba5be22dd..21d44432eb 100644
--- a/net.c
+++ b/net.c
@@ -1025,7 +1025,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 */ }
},