> I see three possible options to handle this.
> 
>    (1) Write a hub (or morph the current vlan code into this).  Then
>        you can do something like:
> 
>              qemu -netdev socket,id=p1 \
>                   -netdev user,id=p2   \
>                   -netdev dump,id=p3 \
>                   -switch peer=p1,peer=p2,monitor=p3,port=p4 \
>                   -device $nic,netdev=p4
> 
>    (2) Implement the same as external daemon which can be combined with
>        -netdev socket.
> 
>    (3) Just point people who need this to the various virtual switch
>        projects (vde, ...) they can use and drop vlan.

(2) is just a special case of (3), where we decide that the existing 
implementations suck and go write our own.

Paul

Reply via email to