[Qemu-devel] [PATCH 0/9] For QEMU 2.5: Add a net filter and a netbuffer plugin based on the filter

2015-07-24 Thread Yang Hongyang
This patch add a net filter between network backend and NIC devices. All packets will pass by this filter. Also implement a netbuffer plugin for example, the netbuffer plugin could be used by VM FT solutions like Macrocheckpointing, to buffer/release packets. Based on this, dump plugin could be eas

Re: [Qemu-devel] [PATCH 0/9] For QEMU 2.5: Add a net filter and a netbuffer plugin based on the filter

2015-07-27 Thread Daniel P. Berrange
On Sun, Jul 26, 2015 at 10:13:55PM +0800, Yang Hongyang wrote: > Thank you, and sorry to Daniel that I forgot to CC you... > > On 07/25/2015 01:06 PM, zhanghailiang wrote: > [...] > >> > >> +--+ +-+ > >> +--+ |filter| |frontend

Re: [Qemu-devel] [PATCH 0/9] For QEMU 2.5: Add a net filter and a netbuffer plugin based on the filter

2015-07-27 Thread Yang Hongyang
Hi, Thank you for the comment! On 07/27/2015 06:32 PM, Daniel P. Berrange wrote: On Sun, Jul 26, 2015 at 10:13:55PM +0800, Yang Hongyang wrote: [...] Which is a little verbose for 'netdev' option. It's just the name diffrence, using netfilter will be -netfilter ... -netfilter ... using p

Re: [Qemu-devel] [PATCH 0/9] For QEMU 2.5: Add a net filter and a netbuffer plugin based on the filter

2015-07-29 Thread Yang Hongyang
Sorry, please ignore this patchset. As me and Jason came to an agreement of another way of implementation. refer to thread: http://lists.nongnu.org/archive/html/qemu-devel/2015-07/msg05445.html I will send another patchset later. On 07/24/2015 06:55 PM, Yang Hongyang wrote: This patch add a net

Re: [Qemu-devel] [PATCH 0/9] For QEMU 2.5: Add a net filter and a netbuffer plugin based on the filter

2015-07-24 Thread zhanghailiang
On 2015/7/24 18:55, Yang Hongyang wrote: This patch add a net filter between network backend and NIC devices. All packets will pass by this filter. Also implement a netbuffer plugin for example, the netbuffer plugin could be used by VM FT solutions like Macrocheckpointing, to buffer/release packe

Re: [Qemu-devel] [PATCH 0/9] For QEMU 2.5: Add a net filter and a netbuffer plugin based on the filter

2015-07-26 Thread Yang Hongyang
Thank you, and sorry to Daniel that I forgot to CC you... On 07/25/2015 01:06 PM, zhanghailiang wrote: [...] +--+ +-+ +--+ |filter| |frontend(NIC)| | peer+--> | | | | network <--+

Re: [Qemu-devel] [PATCH 0/9] For QEMU 2.5: Add a net filter and a netbuffer plugin based on the filter

2015-07-26 Thread Jason Wang
On 07/24/2015 06:55 PM, Yang Hongyang wrote: > This patch add a net filter between network backend and NIC devices. > All packets will pass by this filter. > Also implement a netbuffer plugin for example, the netbuffer plugin > could be used by VM FT solutions like Macrocheckpointing, > to buffer

Re: [Qemu-devel] [PATCH 0/9] For QEMU 2.5: Add a net filter and a netbuffer plugin based on the filter

2015-07-26 Thread Yang Hongyang
On 07/27/2015 12:53 PM, Jason Wang wrote: On 07/24/2015 06:55 PM, Yang Hongyang wrote: This patch add a net filter between network backend and NIC devices. All packets will pass by this filter. Also implement a netbuffer plugin for example, the netbuffer plugin could be used by VM FT solutio