From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaALH-0007AQ-4g for qemu-devel@nongnu.org; Mon, 01 Sep 2008 10:25:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaALF-0007AE-Pv for qemu-devel@nongnu.org; Mon, 01 Sep 2008 10:25:18 -0400 Received: from [199.232.76.173] (port=58436 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaALF-0007AB-J8 for qemu-devel@nongnu.org; Mon, 01 Sep 2008 10:25:17 -0400 Received: from wf-out-1314.google.com ([209.85.200.172]:32236) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KaALF-0004vy-NJ for qemu-devel@nongnu.org; Mon, 01 Sep 2008 10:25:17 -0400 Received: by wf-out-1314.google.com with SMTP id 27so1892485wfd.4 for ; Mon, 01 Sep 2008 07:25:15 -0700 (PDT) Message-ID: Date: Mon, 1 Sep 2008 17:25:15 +0300 From: "Blue Swirl" Subject: Re: [Qemu-devel] [PATCH v4 4/8] Use libuuid if available. In-Reply-To: <20080901072551.17854.10043.stgit@gleb-debian.qumranet.com.qumranet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080901072531.17854.37681.stgit@gleb-debian.qumranet.com.qumranet.com> <20080901072551.17854.10043.stgit@gleb-debian.qumranet.com.qumranet.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 9/1/08, Gleb Natapov wrote: > case QEMU_OPTION_uuid: > +#ifdef CONFIG_UUID > + if (strcmp(optarg, "gen") == 0) { > + generate_uuid = 1; > + break; > + } > +#endif I forgot to mention it, but I changed this in my version like this: #ifdef CONFIG_UUID generate_uuid = 1; break; #else fprintf(stderr, "UUID generation not supported.\n"); exit(1); #endif Otherwise there is still an error message, but it's less clear.