From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E6td4-0007Cl-0N for qemu-devel@nongnu.org; Sun, 21 Aug 2005 13:29:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E6td1-0007Bf-SQ for qemu-devel@nongnu.org; Sun, 21 Aug 2005 13:29:05 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E6tcj-0006hd-4f for qemu-devel@nongnu.org; Sun, 21 Aug 2005 13:28:45 -0400 Received: from [84.96.92.55] (helo=smtP.neuf.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E6tEO-00012K-94 for qemu-devel@nongnu.org; Sun, 21 Aug 2005 13:03:36 -0400 Received: from [84.99.204.33] by sp604004mt.gpm.neuf.ld (Sun Java System Messaging Server 6.2-3.03 (built Jun 27 2005)) with ESMTP id <0ILL004TB0PAKIC0@sp604004mt.gpm.neuf.ld> for qemu-devel@nongnu.org; Sun, 21 Aug 2005 19:03:10 +0200 (CEST) Date: Sun, 21 Aug 2005 19:03:56 +0200 From: Fabrice Bellard Subject: Re: [Qemu-devel] patch: allow defining MAC address etc In-reply-to: <200508210204.32388.paul@codesourcery.com> Message-id: <4308B3FC.4000505@bellard.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <1124584572.6521.38.camel@localhost.localdomain> <200508210204.32388.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Paul Brook wrote: > On Sunday 21 August 2005 01:36, jamal wrote: > >>This attached patch is intended for allowing automated clever scripting >>for networking (tuntap only). Please read and apply if possible. >> >>It does the following: >>a) allow for specifying the guest netdevice interface MAC address >>(in addition to keeping the old functionality of specifying just >>the first one and letting qemu decide what subsequent ones should be) >>So now you can say something along the lines of: >>"-nics 2 -macaddr0 00:11:a:0:2:19 -macaddr1 00:11:a:0:1:19" >>We allow upto 6 such MAC addresses to be specified. Maybe theres >>a more clever way to achieve this. > > > Maybe a comma separated list of MAC addresses. e.g. > "-nics 2 macaddr 00:11:a:0:2:19,00:11:a:0:1:19" I propose: -nics 2 -macaddr 00:11:a:0:2:19 -macaddr 00:11:a:0:1:19 For the future, I would like to change the networks options to have something like: -net usernet,macaddr=00:11:a:0:2:19 -net tunfd=10,macaddr=00:11:a:0:1:19 to be consistent with the character devices. Fabrice.