qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: jamal <hadi@cyberus.ca>
To: Paul Brook <paul@codesourcery.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] patch: allow defining MAC address etc
Date: Sat, 20 Aug 2005 22:46:46 -0400	[thread overview]
Message-ID: <1124592406.6521.59.camel@localhost.localdomain> (raw)
In-Reply-To: <200508210322.36010.paul@codesourcery.com>

On Sun, 2005-21-08 at 03:22 +0100, Paul Brook wrote:
> On Sunday 21 August 2005 02:56, jamal wrote:

> > i could do this; macaddr is already being used to imply the start
> > macaddr. Does macaddrs sound better?
> 
> Part of the reason I suggested this was because it is an extension of the 
> existing option. A user can either specifies a single address and have qemu 
> assign sequential addresses (the current behaviour), or they can specify a 
> list of addresses, one for each NIC.
> 

it may be easier parsing to avoid having optional fields. Is there any
other parameter that has optional fields?


> Your script should be able to get all the information it needs from the MAC 
> address. You can either hardcode addresses or do pattern matching.
> The guest MAC address is arbitrary, so you can choose whatever numbering is 
> convenient.  For example you could use the last digit of the address to 
> encode your ID field. 

The only problem is that would tie the two things (MAC + ID) together.
i.e it would not be possible to just pass the ids without specifying
macs. Note the Ids syntax would also be comma separated.

cheers,
jamal

  reply	other threads:[~2005-08-21  3:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-21  0:36 [Qemu-devel] patch: allow defining MAC address etc jamal
2005-08-21  1:04 ` Paul Brook
2005-08-21  1:56   ` jamal
2005-08-21  2:22     ` Paul Brook
2005-08-21  2:46       ` jamal [this message]
2005-08-21  3:18         ` jamal
2005-08-21  4:30           ` Jim C. Brown
2005-08-21 15:51             ` jamal
2005-08-21  4:06         ` Jim C. Brown
2005-08-21 17:03   ` Fabrice Bellard
2005-08-26 11:43     ` Henrik Nordstrom
  -- strict thread matches above, loose matches on Subject: below --
2005-08-22  1:44 [Qemu-devel] PATCH: " jamal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1124592406.6521.59.camel@localhost.localdomain \
    --to=hadi@cyberus.ca \
    --cc=paul@codesourcery.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).