[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] patch: allow defining MAC address etc
From: |
Jim C. Brown |
Subject: |
Re: [Qemu-devel] patch: allow defining MAC address etc |
Date: |
Sun, 21 Aug 2005 00:06:36 -0400 |
User-agent: |
Mutt/1.4i |
On Sat, Aug 20, 2005 at 10:46:46PM -0400, jamal wrote:
> > 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.
>
As it should be. A macaddr identified each NIC in the virtual computer uniquely.
Both within the guest and across guests (if you are running multiple qemu VMs
with tuntap networking).
A discussion on IRC before lead to the idea that, if a script should handle
multiple guests, qemu should pass the macaddr in $2 to allow the script to
identify the guest NIC. That is the only thing needed to uniquely identify
a guest, there should be no need for a separate ID.
--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
- [Qemu-devel] patch: allow defining MAC address etc, jamal, 2005/08/20
- Re: [Qemu-devel] patch: allow defining MAC address etc, Paul Brook, 2005/08/20
- Re: [Qemu-devel] patch: allow defining MAC address etc, jamal, 2005/08/20
- Re: [Qemu-devel] patch: allow defining MAC address etc, Paul Brook, 2005/08/20
- Re: [Qemu-devel] patch: allow defining MAC address etc, jamal, 2005/08/20
- Re: [Qemu-devel] patch: allow defining MAC address etc, jamal, 2005/08/20
- Re: [Qemu-devel] patch: allow defining MAC address etc, Jim C. Brown, 2005/08/21
- Re: [Qemu-devel] patch: allow defining MAC address etc, jamal, 2005/08/21
- Re: [Qemu-devel] patch: allow defining MAC address etc,
Jim C. Brown <=
Re: [Qemu-devel] patch: allow defining MAC address etc, Fabrice Bellard, 2005/08/21