From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCBkJ-0006OC-Q4 for qemu-devel@nongnu.org; Mon, 26 Mar 2012 11:22:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCBkB-0002Nn-Bt for qemu-devel@nongnu.org; Mon, 26 Mar 2012 11:22:11 -0400 Received: from cantor2.suse.de ([195.135.220.15]:50472 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCBkB-0002Lp-5J for qemu-devel@nongnu.org; Mon, 26 Mar 2012 11:22:03 -0400 Message-ID: <4F708997.9030705@suse.de> Date: Mon, 26 Mar 2012 17:21:59 +0200 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <20120326151340.GA25460@mail.hallyn.com> In-Reply-To: <20120326151340.GA25460@mail.hallyn.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 1/1] If user doesn't specify a uuid, generate a random one List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Serge E. Hallyn" Cc: qemu-devel@nongnu.org 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. >=20 > 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 --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg