mirror of https://github.com/xemu-project/xemu.git
usb: document pcap (aka usb traffic capture)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-Id: <20220711094437.3995927-3-kraxel@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
f3a445b68e
commit
04fcb215b8
|
@ -382,3 +382,15 @@ What works best pretty much depends on the behavior of the specific
|
||||||
usb device at hand, so it's a trial-and-error game. If the default
|
usb device at hand, so it's a trial-and-error game. If the default
|
||||||
doesn't work, try another option and see whenever the situation
|
doesn't work, try another option and see whenever the situation
|
||||||
improves.
|
improves.
|
||||||
|
|
||||||
|
record usb transfers
|
||||||
|
^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
All usb devices have support for recording the usb traffic. This can
|
||||||
|
be enabled using the ``pcap=<file>`` property, for example:
|
||||||
|
|
||||||
|
``-device usb-mouse,pcap=mouse.pcap``
|
||||||
|
|
||||||
|
The pcap files are compatible with the linux kernels usbmon. Many
|
||||||
|
tools, including ``wireshark``, can decode and inspect these trace
|
||||||
|
files.
|
||||||
|
|
Loading…
Reference in New Issue