[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 6/7] doc: document -netdev hubport
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 6/7] doc: document -netdev hubport |
Date: |
Wed, 27 Feb 2013 16:22:24 +0100 |
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
hmp-commands.hx | 2 +-
qemu-options.hx | 11 ++++++++++-
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/hmp-commands.hx b/hmp-commands.hx
index cef7708..69c707d 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1169,7 +1169,7 @@ ETEXI
{
.name = "netdev_add",
.args_type = "netdev:O",
- .params = "[user|tap|socket],id=str[,prop=value][,...]",
+ .params = "[user|tap|socket|hubport],id=str[,prop=value][,...]",
.help = "add host network device",
.mhandler.cmd = hmp_netdev_add,
},
diff --git a/qemu-options.hx b/qemu-options.hx
index 797d992..863069f 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1408,7 +1408,8 @@ DEF("netdev", HAS_ARG, QEMU_OPTION_netdev,
#ifdef CONFIG_VDE
"vde|"
#endif
- "socket],id=str[,option][,option][,...]\n", QEMU_ARCH_ALL)
+ "socket|"
+ "hubport],id=str[,option][,option][,...]\n", QEMU_ARCH_ALL)
STEXI
@item -net nic[,address@hidden,address@hidden,address@hidden
[,address@hidden,address@hidden,address@hidden
@findex -net
@@ -1730,6 +1731,14 @@ vde_switch -F -sock /tmp/myswitch
qemu-system-i386 linux.img -net nic -net vde,sock=/tmp/myswitch
@end example
address@hidden -netdev hubport,address@hidden,address@hidden
+
+Create a hub port on QEMU "vlan" @var{hubid}.
+
+The hubport netdev lets you connect a NIC to a QEMU "vlan" instead of a single
+netdev. @code{-net} and @code{-device} with parameter @option{vlan} create the
+required hub automatically.
+
@item -net dump[,address@hidden,address@hidden,address@hidden
Dump network traffic on VLAN @var{n} to file @var{file}
(@file{qemu-vlan0.pcap} by default).
At most @var{len} bytes (64k by default) per packet are stored. The file
format is
--
1.8.1.2
- [Qemu-devel] [PULL 0/7] Net patches, Stefan Hajnoczi, 2013/02/27
- [Qemu-devel] [PATCH 1/7] net: fix qemu_flush_queued_packets() in presence of a hub, Stefan Hajnoczi, 2013/02/27
- [Qemu-devel] [PATCH 3/7] tap: forbid creating multiqueue tap when hub is used, Stefan Hajnoczi, 2013/02/27
- [Qemu-devel] [PATCH 2/7] net: fix unbounded NetQueue, Stefan Hajnoczi, 2013/02/27
- [Qemu-devel] [PATCH 5/7] net: reduce the unnecessary memory allocation of multiqueue, Stefan Hajnoczi, 2013/02/27
- [Qemu-devel] [PATCH 6/7] doc: document -netdev hubport,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 7/7] qmp: netdev_add is like -netdev, not -net, fix documentation, Stefan Hajnoczi, 2013/02/27
- [Qemu-devel] [PATCH 4/7] tap: set IFF_ONE_QUEUE per default, Stefan Hajnoczi, 2013/02/27