From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: KVM Management : Public Bridge setup Date: Sat, 09 Aug 2008 10:43:29 -0500 Message-ID: <489DBB21.5040603@codemonkey.ws> References: <618716.82336.qm@web35805.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: KVM List To: jdsw2002@yahoo.com Return-path: Received: from wr-out-0506.google.com ([64.233.184.231]:2857 "EHLO wr-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753280AbYHIPoH (ORCPT ); Sat, 9 Aug 2008 11:44:07 -0400 Received: by wr-out-0506.google.com with SMTP id 69so1023042wri.5 for ; Sat, 09 Aug 2008 08:44:06 -0700 (PDT) In-Reply-To: <618716.82336.qm@web35805.mail.mud.yahoo.com> Sender: kvm-owner@vger.kernel.org List-ID: jd wrote: > Hi > The /etc/qemu-if script seems to be taking the interface as a parameter, is there a way to pass the bridge name to the script as well. Thus from the command line one can pass the bridge that one whats to attach to. > (One can potentially one script for each bridge and pass the script name to qemu... but it seems bit unnecessary.) > Environmental variables passed to the QEMU process can be used by the scripts. For instance, if you use $BRIDGE_NAME in the script, then you would start QEMU with: BRIDGE_NAME=br1 qemu-system-x86_64 .... Regards, Anthony Liguori > Thanks > /Jd > > > > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >