qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Random MAC address option


From: Daniel P. Berrange
Subject: Re: [Qemu-devel] [PATCH] Random MAC address option
Date: Tue, 27 Jan 2009 10:25:28 +0000
User-agent: Mutt/1.4.1i

On Tue, Jan 27, 2009 at 12:15:41PM +0200, Riku Voipio wrote:
> On Tue, Jan 27, 2009 at 03:13:18AM +0300, Pavel Vasilyev wrote:
> > +        if (strstr(p, "macrandom")) {
> 
> I take this means -net macaddr=macrandom will give the random
> macaddr after this patch? please document this magic in
> qemu-doc.texi and --help.

Generating a random MAC address everytime you boot a guest seems like
a very odd thing todo. MAC addresses should be  randomly generated
once, and then fixed for the duration of existance of that guest,
across reboots.If you generate a random MAC on every boot, the OS will
think its NIC has been removed, and a new one added on every boot.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]