From patchwork Tue Jan 29 22:43:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 216696 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 65C822C0098 for ; Wed, 30 Jan 2013 09:46:36 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 26227A027B; Tue, 29 Jan 2013 22:46:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GwtysQcUEDzD; Tue, 29 Jan 2013 22:46:31 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 6F4F0A027C; Tue, 29 Jan 2013 22:45:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id C26DF8F753 for ; Tue, 29 Jan 2013 22:44:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6EAC48CA34 for ; Tue, 29 Jan 2013 22:44:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 82Lby8gexLJK for ; Tue, 29 Jan 2013 22:44:42 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by whitealder.osuosl.org (Postfix) with ESMTPS id B25638C720 for ; Tue, 29 Jan 2013 22:44:40 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id 12so694534wgh.31 for ; Tue, 29 Jan 2013 14:44:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references; bh=OpGswd83SZgIXPMdXJm6JDIeoDDGlzDX9winZD3TrPw=; b=f+gOHJqRiVc+dDB256OE+5CGmfl2EeKyI77/cGrZKr7OioeE3fVggHFzjBFD90h7OJ Pw3wUrM3qJDW+zM22ZUOIZ3eKsJnNQQlqXr6cOxMYWT7TkGsXU2y0FpxdikTbZtr+0if fXzsGvlfTf2vOXs8NIHaNsAXbg+IjvuploG7f8snx8v9xG0rjnXk7LJoAOAPh623XKx9 OIBQUq5yP7ISTtqMS+IwuOjt0uwxrvEqch6D0gCZjjO63rSUe5F+82+2+mClYSrLGbTI 3lF+KfmfyBmz+opDR0JlYmSBBq6+IMlMCOHvQNIEZCd3mW1rKIdvfux/W/nrQO4bME9M qEng== X-Received: by 10.194.94.37 with SMTP id cz5mr5169570wjb.49.1359499479283; Tue, 29 Jan 2013 14:44:39 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-39-23.w90-32.abo.wanadoo.fr. [90.32.22.23]) by mx.google.com with ESMTPS id ge2sm5826459wib.4.2013.01.29.14.44.37 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 29 Jan 2013 14:44:38 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Tue, 29 Jan 2013 23:43:55 +0100 Message-Id: X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 11/29] package/qemu: add uuid support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: "Yann E. MORIN" --- package/qemu/Config.in | 10 ++++++++++ package/qemu/qemu.mk | 8 +++++++- 2 files changed, 17 insertions(+), 1 deletions(-) diff --git a/package/qemu/Config.in b/package/qemu/Config.in index 41c4cf2..4952c34 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -115,6 +115,16 @@ config BR2_PACKAGE_QEMU_SDL comment "Misc. features" +config BR2_PACKAGE_QEMU_UUID + bool "Enable VMs UUID" + depends on BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + help + Say 'y' here to have QEMU support UUIDs for VMs. + +comment "UUID support requires util-linux (for libuuid)" + depends on !BR2_PACKAGE_UTIL_LINUX + config BR2_PACKAGE_QEMU_BLOBS bool "Install binary blobs" default y diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index ea1487a..bdccbf5 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -149,6 +149,13 @@ else QEMU_OPTS += --disable-sdl endif +ifeq ($(BR2_PACKAGE_QEMU_UUID),y) +QEMU_OPTS += --enable-uuid +QEMU_DEPENDENCIES += util-linux +else +QEMU_OPTS += --disable-uuid +endif + ifeq ($(BR2_PACKAGE_QEMU_BLOBS),) QEMU_OPTS += --disable-blobs endif @@ -240,7 +247,6 @@ define QEMU_CONFIGURE_CMDS --disable-fdt \ --disable-bluez \ --disable-guest-base \ - --disable-uuid \ --disable-vde \ --disable-linux-aio \ --disable-cap-ng \