From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:53445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9IPU-00071K-Ko for qemu-devel@nongnu.org; Thu, 29 Sep 2011 11:20:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R9IPO-0000Hn-Vw for qemu-devel@nongnu.org; Thu, 29 Sep 2011 11:20:28 -0400 Received: from thoth.sbs.de ([192.35.17.2]:27992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9IPO-0000Hd-IE for qemu-devel@nongnu.org; Thu, 29 Sep 2011 11:20:22 -0400 Message-ID: <4E848CB3.2000608@siemens.com> Date: Thu, 29 Sep 2011 17:20:19 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1317304660-18072-1-git-send-email-levinsasha928@gmail.com> <4E847C56.4020701@siemens.com> <004801cc7eb5$c00c6580$40253080$@de> In-Reply-To: <004801cc7eb5$c00c6580$40253080$@de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] tap: Add optional parameters to up/down script List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Jung , 'Sasha Levin' Cc: 'Anthony Liguori' , "qemu-devel@nongnu.org" On 2011-09-29 16:40, Thomas Jung wrote: > On 2011-09-29 16:11 jan kiszka wrote >> What kind of parameters would you want to pass? Something that tells VMs >> apart (which can be solved without these extensions) or more? >> >> Jan > > In our Case: > > We want to simulate an larger environment with multiple switches realized in > openvswitch. > Openvswitch requires a up- and downscript for each switch. So the idea was, > have a single and variable up- and downscript and feed it with parameters > (like switch to use, vlan id and so on) through the scriptparams. Sounds reasonable. A short note on the "why" in the description would have been nice. The patch has some style issues that should be addressed first (checkpatch will tell). Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux