qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - upd


From: andrzej zaborowski
Subject: Re: [Qemu-devel] [PATCH] Capture network traffic to a tcpdump file - updated
Date: Tue, 11 Dec 2007 23:28:55 +0100

On 10/12/2007, Balazs Attila-Mihaly (Cd-MaN) <address@hidden> wrote:
> Here goes v0.2 for my patch :-)
> Changes
> - now the option is a separate command line switch:
>   -net capture,vlan=2,file=test.pcap
> - it is also available from the monitor
> - added some more constants / defines to avoid repeating portions of the code

Would it be possible to implement this as simply another vlan client
that does the logging in it's fd_read callback?  I think this would be
cleaner, we would avoid the special case and an additional condition
check in every qemu_send_packet().
Regards




reply via email to

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