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
parentlsi53c895a: Update dnad when skipping MSGOUT bytes (diff)
downloadqemu-kvm-2288eb3af2506a6950a6e3993c0e0cd0b0ad212b.tar.gz
qemu-kvm-2288eb3af2506a6950a6e3993c0e0cd0b0ad212b.tar.bz2
qemu-kvm-2288eb3af2506a6950a6e3993c0e0cd0b0ad212b.zip
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 9ba5be22d..21d44432e 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 */ }
},