|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH] configure: add an option to disable vlans |
Date: | Tue, 08 Jun 2010 13:01:38 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Thunderbird/3.0.4 |
On 06/08/2010 09:37 AM, Paul Brook wrote:
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.
To the extent that (1) is valuable, I think it's the best approach. I'd vote for officially deprecating vlans for 0.13 and then seeing how much people complain. If no one complains too much, then let's not bother introducing -switch.
Regards, Anthony Liguori
Paul
[Prev in Thread] | Current Thread | [Next in Thread] |