Re: [Qemu-devel] Re: [PATCH RFC 0/4] Dumping traffic when using netdev devices

2010-07-16 Thread Miguel Di Ciurcio Filho
On Fri, Jul 16, 2010 at 1:14 PM, Anthony Liguori wrote: > On 07/16/2010 10:41 AM, Markus Armbruster wrote: >>> A less invasive way to do this would be to chain netdev devices. >>> >>> Basically: >>> >>> -netdev tap,fd=X,id=foo >>> -netdev dump,file=foo.pcap,netdev=foo,id=bar >>> -net nic,model=vir

Re: [Qemu-devel] Re: [PATCH RFC 0/4] Dumping traffic when using netdev devices

2010-07-16 Thread Anthony Liguori
On 07/16/2010 10:41 AM, Markus Armbruster wrote: Anthony Liguori writes: On 07/15/2010 03:22 PM, Miguel Di Ciurcio Filho wrote: Hello, This is a prototype suggestion. I mostly copied and pasted the code from net/dump.c into net.c and made some adjustments. There is no command line

Re: [Qemu-devel] Re: [PATCH RFC 0/4] Dumping traffic when using netdev devices

2010-07-16 Thread Markus Armbruster
Anthony Liguori writes: > On 07/15/2010 03:22 PM, Miguel Di Ciurcio Filho wrote: >> Hello, >> >> This is a prototype suggestion. I mostly copied and pasted the code from >> net/dump.c into net.c and made some adjustments. There is no command line >> parsing involved yet, just the internals and sm