]> git.proxmox.com Git - qemu.git/commitdiff
net: Add the missing option declaration of "vhostforce"
authorJason Wang <jasowang@redhat.com>
Fri, 25 Feb 2011 08:11:27 +0000 (16:11 +0800)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 6 Mar 2011 19:15:31 +0000 (20:15 +0100)
Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
net.c

diff --git a/net.c b/net.c
index 54e8992bea4e11569d8f20f59a07d75f5f529767..ddcca9752d8df0cdaa8aab0ca2eb8f818df24989 100644 (file)
--- 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 */ }
         },