From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E6hdb-0005Pt-84 for qemu-devel@nongnu.org; Sun, 21 Aug 2005 00:40:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E6hdW-0005N7-9V for qemu-devel@nongnu.org; Sun, 21 Aug 2005 00:40:48 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E6hdU-0005L3-He for qemu-devel@nongnu.org; Sun, 21 Aug 2005 00:40:44 -0400 Received: from [128.8.10.163] (helo=po1.wam.umd.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E6hTn-0003Vx-SC for qemu-devel@nongnu.org; Sun, 21 Aug 2005 00:30:43 -0400 Date: Sun, 21 Aug 2005 00:30:14 -0400 From: "Jim C. Brown" Subject: Re: [Qemu-devel] patch: allow defining MAC address etc Message-ID: <20050821043014.GA13505@jbrown.mylinuxbox.org> References: <1124584572.6521.38.camel@localhost.localdomain> <200508210204.32388.paul@codesourcery.com> <1124589394.6521.51.camel@localhost.localdomain> <200508210322.36010.paul@codesourcery.com> <1124592406.6521.59.camel@localhost.localdomain> <1124594310.6521.63.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1124594310.6521.63.camel@localhost.localdomain> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: hadi@cyberus.ca, qemu-devel@nongnu.org On Sat, Aug 20, 2005 at 11:18:29PM -0400, jamal wrote: > On Sat, 2005-20-08 at 22:46 -0400, jamal wrote: > > Note the Ids syntax would also be comma separated. > > > > Actually no - this would need to have the IDx prefix so that > you can pass the ID for non-sequential NICS. Example > -ID2 0 , -ID5 3 and the rest get a default which is zero. > > cheers, > jamal > Nah, you could do something like -ID ,4,3,,,5,,7,,,9 with the spaces between the commas getting the default value. If you have more NICs past the last one you manually specify an ID to, those also get the default ID. (Granted, not the best way to do it if you plan to skip a lot of NICs at the beginning or the middle.) Of course, since you'd have to specify a macaddr for each NIC anyways, might as well just use that as the ID. -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.