From patchwork Wed Nov 28 23:54:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 202610 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 C734C2C0469 for ; Thu, 29 Nov 2012 10:58:59 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D4853A01F1; Wed, 28 Nov 2012 23:58:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aH83pDWgyajy; Wed, 28 Nov 2012 23:58:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 904ACA0279; Wed, 28 Nov 2012 23:57:37 +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 8EE3C8F74A for ; Wed, 28 Nov 2012 23:55:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 718638A8A5 for ; Wed, 28 Nov 2012 23:55:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZlI7t+d1-Mha for ; Wed, 28 Nov 2012 23:55:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by whitealder.osuosl.org (Postfix) with ESMTPS id C66A18A39E for ; Wed, 28 Nov 2012 23:55:38 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id hm2so4574042wib.10 for ; Wed, 28 Nov 2012 15:55:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=6WSt840iV9yiwvoUoGhETU8Uk8EhIYESJKihcPM03OY=; b=hJ/hKvdPtAmTKoM8sFJWU+xIqx0hc3FNohS6VYHwgwqCYfb1/XvHDoTRf5nfgr1rT8 5pWRtanyyIvqNq+k6Yhpf0lddnDebN8u79hIghpuV/pEzaqb6jMfKkrwBLgG81405xaC 0zKz14q4ms1rkd/nuHKfnG5rE2iPY+iT7q3JC1ZDh246bd7aibNRdyN0ZFP0pFogyWjy GGuflHO8uI+FpwnaU8AS9umgV63cW3aRMCFfH/KmM2uaXAaI27jPmgH9ZPfzyOS5BeUd hl3E8TGzMpEJbeD4wIOOJnq3SEr509+voPFQ1b1/fxFc1pJIgrLuXUjPBzYLCO0tAWlJ aHGA== Received: by 10.216.28.141 with SMTP id g13mr7331083wea.178.1354146938611; Wed, 28 Nov 2012 15:55:38 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-141-45.w90-32.abo.wanadoo.fr. [90.32.252.45]) by mx.google.com with ESMTPS id i6sm9076156wix.5.2012.11.28.15.55.37 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Nov 2012 15:55:38 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Thu, 29 Nov 2012 00:54:33 +0100 Message-Id: <1354146890-27380-35-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1354146890-27380-1-git-send-email-yann.morin.1998@free.fr> References: <1354146890-27380-1-git-send-email-yann.morin.1998@free.fr> Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 34/51] 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 | 9 +++++++++ package/qemu/qemu.mk | 8 +++++++- 2 files changed, 16 insertions(+), 1 deletions(-) diff --git a/package/qemu/Config.in b/package/qemu/Config.in index b5944dc..3177dd2 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -118,6 +118,15 @@ config BR2_PACKAGE_QEMU_SDL comment "Misc. features" +config BR2_PACKAGE_QEMU_UUID + bool "Enable VMs UUID" + depends on BR2_PACKAGE_UTIL_LINUX_LIBUUID + help + Say 'y' here to have QEMU support UUIDs for VMs. + +comment "UUID support requires libuuid (from util-linux)" + depends on !BR2_PACKAGE_UTIL_LINUX_LIBUUID + config BR2_PACKAGE_QEMU_BLOBS bool "Install binary blobs" default y diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index a943362..980a75e 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -164,6 +164,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 @@ -258,7 +265,6 @@ define QEMU_CONFIGURE_CMDS --disable-fdt \ --disable-bluez \ --disable-guest-base \ - --disable-uuid \ --disable-vde \ --disable-linux-aio \ --disable-cap-ng \