Am 26.03.2012 17:13, schrieb Serge E. Hallyn:
> Currently, if the user doesn't pass a uuid, the system uuid is set to
> all zeros.  This patch generates a random one instead.
> 
> Is there a reason to prefer all zeros?

Yes, documented somewhere in the archives, we wanted to have
reproducible defaults in QEMU (cf. MAC address, IP addresses) so that it
doesn't change for each invocation or depending on host.

As a general rule, randomization should be done either explicitly (-uuid
`uuidgen` or -generate-me-a-uuid) or via frontends such as libvirt.

If all zeros causes genuine problems then we should change the default,
taking care of backwards compatibility as usual.

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

Reply via email to