qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH RFC 5/5] net/dump: Add documentation


From: Thomas Huth
Subject: [Qemu-devel] [PATCH RFC 5/5] net/dump: Add documentation
Date: Thu, 27 Aug 2015 04:33:24 +0200

Add a short description for the command line options.

Signed-off-by: Thomas Huth <address@hidden>
---
 qemu-options.hx | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/qemu-options.hx b/qemu-options.hx
index 390e055..21cf129 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1578,7 +1578,10 @@ DEF("net", HAS_ARG, QEMU_OPTION_net,
 DEF("netfilter", HAS_ARG, QEMU_OPTION_netfilter,
     "-netfilter buffer,id=str,netdev=str[,chain=in|out|all,interval=n]\n"
     "                buffer netdev in/out packets. if interval provided, will 
release\n"
-    "                packets by interval. interval scale: microsecond\n", 
QEMU_ARCH_ALL)
+    "                packets by interval. interval scale: microsecond\n"
+    "-netfilter dump,id=str,netdev=str,file=f[,maxlen=n,chain=in|out|all]\n"
+    "                dump network traffic to file 'f' (max n bytes per 
packet)\n",
+                     QEMU_ARCH_ALL)
 STEXI
 @item -net nic[,address@hidden,address@hidden,address@hidden 
[,address@hidden,address@hidden,address@hidden
 @findex -net
@@ -1984,10 +1987,12 @@ qemu -m 512 -object 
memory-backend-file,id=mem,size=512M,mem-path=/hugetlbfs,sha
      -device virtio-net-pci,netdev=net0
 @end example
 
address@hidden -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
-libpcap, so it can be analyzed with tools such as tcpdump or Wireshark.
address@hidden -netfilter 
dump,address@hidden,address@hidden,address@hidden,address@hidden,chain=in|out|all]
address@hidden -net dump[,address@hidden,address@hidden,address@hidden
+Dump network traffic on netdev @var{dev} (or VLAN @var{n} reciprocally) to
+file @var{file} (@file{qemu-vlan0.pcap} for '-net dump' by default).
+At most @var{len} bytes (64k by default) per packet are stored. The file format
+is libpcap, so it can be analyzed with tools such as tcpdump or Wireshark.
 
 @item -net none
 Indicate that no network devices should be configured. It is used to
-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]