|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated |
Date: | Mon, 10 Dec 2007 10:15:50 -0600 |
User-agent: | Thunderbird 2.0.0.6 (X11/20071022) |
Paul Brook wrote:
On Monday 10 December 2007, Anthony Liguori wrote:Balazs Attila-Mihaly (Cd-MaN) wrote:Here goes v0.2 for my patch :-) Changes - now the option is a separate command line switch: -net capture,vlan=2,file=test.pcapIs it really necessary/useful to specify this on the command line since it can be controlled from the monitor?By that argument you could remove half the rest of the commandline options (e.g. the USB options).
I was thinking about the use-case. For instance, you probably want to start and end the capture at specific times. I don't think the common case it trapping traffic for the entire duration the guest is running.
Regards, Anthony Liguori
I think it would be good to expose the whole -net functionality via the monitor, rather than have a special hack for -net monitor. Obviously some functionality would only be usable via the commandline (e.g. non-hotplug NICs)
Paul
[Prev in Thread] | Current Thread | [Next in Thread] |