summaryrefslogtreecommitdiffstats
path: root/net.c
diff options
context:
space:
mode:
authorJason Wang <[email protected]>2011-02-25 16:11:27 +0800
committerAurelien Jarno <[email protected]>2011-03-06 20:15:31 +0100
commit96c94b298f99d6edf4e49d03cc8458f5b6e9d5f0 (patch)
tree945ac6c3ccd6a586314b30e2dc0c5a5f229b1256 /net.c
parent05a7fcd08189300fc89d841c2e4c522226afece7 (diff)
downloadqemu-kvm-96c94b298f99d6edf4e49d03cc8458f5b6e9d5f0.tar.gz
qemu-kvm-96c94b298f99d6edf4e49d03cc8458f5b6e9d5f0.tar.bz2
qemu-kvm-96c94b298f99d6edf4e49d03cc8458f5b6e9d5f0.zip
net: Add the missing option declaration of "vhostforce"
Signed-off-by: Jason Wang <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Aurelien Jarno <[email protected]>
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 54e8992be..ddcca9752 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 */ }
},