Re: [Qemu-devel] [PATCH 02/16] net: Use hubs for the vlan feature

2012-07-23 Thread Stefan Hajnoczi
On Mon, Jul 23, 2012 at 2:55 PM, Laszlo Ersek wrote: > On 07/20/12 14:01, Stefan Hajnoczi wrote: > >> diff --git a/net.c b/net.c >> index e7a8d81..f2752c7 100644 >> --- a/net.c >> +++ b/net.c >> @@ -25,6 +25,7 @@ >> >> #include "config-host.h" >> >> +#include "net/hub.h" >> #include "net/tap.h"

Re: [Qemu-devel] [PATCH 02/16] net: Use hubs for the vlan feature

2012-07-23 Thread Laszlo Ersek
On 07/20/12 14:01, Stefan Hajnoczi wrote: > diff --git a/net.c b/net.c > index e7a8d81..f2752c7 100644 > --- a/net.c > +++ b/net.c > @@ -25,6 +25,7 @@ > > #include "config-host.h" > > +#include "net/hub.h" > #include "net/tap.h" > #include "net/socket.h" > #include "net/dump.h" This inclu

[Qemu-devel] [PATCH 02/16] net: Use hubs for the vlan feature

2012-07-20 Thread Stefan Hajnoczi
Stop using the special-case vlan code in net.c. Instead use the hub net client to implement the vlan feature. The next patch will remove vlan code from net.c completely. Signed-off-by: Stefan Hajnoczi Signed-off-by: Zhi Yong Wu --- net.c | 38 +-