]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.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:16:49 +0000 (20:16 +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>
(cherry picked from commit 96c94b298f99d6edf4e49d03cc8458f5b6e9d5f0)

net.c

diff --git a/net.c b/net.c
index 9ba5be22dde09e038cb00cbda02edff85c7b36b7..21d44432eb30fe3d81ba9e31cb89e9de1b18375a 100644 (file)
--- 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 */ }
         },