From patchwork Sun Dec 9 16:35:05 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: 204735 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 0C4052C01C2 for ; Mon, 10 Dec 2012 03:40:36 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id E09C7A02C7; Sun, 9 Dec 2012 16:40:34 +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 fdzqjgGdjAb2; Sun, 9 Dec 2012 16:40:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id CE72CA0203; Sun, 9 Dec 2012 16:37:08 +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 9DF1F8F74B for ; Sun, 9 Dec 2012 16:36:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8D52B81BA8 for ; Sun, 9 Dec 2012 16:36:10 +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 l8ELvRUI8uXT for ; Sun, 9 Dec 2012 16:36:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id B417881B94 for ; Sun, 9 Dec 2012 16:36:09 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id u3so1081279wey.16 for ; Sun, 09 Dec 2012 08:36:09 -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=oftMmi3FYJ3pS5i4uMVuszUVGUfVqdGis21ILf5CT+4=; b=f8RHscyD9hw6rHYWF+q4DrGM39qbYmCe2NVz7QYJ+qqg88LnTJ6BrrEhJk8f03DBKf IAjG/gKIHTwXqDJVWBVP6GEJ+hGUM1maDz+sV6Nilpo1kXFvDtAwpfme5Qdr78HacDRN 2rWCIOhv4mLugP8pEt+hK+drWfGH0Fxdi50/AYITsdbtnql3LqyQz6flXQGXn+Vyjvlh gVrGn3Fv6evuJnl5fMNBSw3xDPBVZccKMsWUq65GukWuELBeiMNa8A72DPxSoXauQ6Kx mSwLHUWW8qSrxeg+E5SgA0OHqkECHpRdGaJQTOTegWgb8KWktY0G7FQP4Ly8eoB1tjfq nenQ== Received: by 10.216.141.15 with SMTP id f15mr4279082wej.116.1355070969244; Sun, 09 Dec 2012 08:36:09 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-76-30.w90-32.abo.wanadoo.fr. [90.32.155.30]) by mx.google.com with ESMTPS id fv2sm6587947wib.4.2012.12.09.08.36.07 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Dec 2012 08:36:08 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 9 Dec 2012 17:35:05 +0100 Message-Id: <1355070924-8009-33-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1355070924-8009-1-git-send-email-yann.morin.1998@free.fr> References: <1355070924-8009-1-git-send-email-yann.morin.1998@free.fr> Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 32/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 d97e7da..6daaf98 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -117,6 +117,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 62eb066..29e01d4 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 @@ -239,7 +246,6 @@ define QEMU_CONFIGURE_CMDS --disable-fdt \ --disable-bluez \ --disable-guest-base \ - --disable-uuid \ --disable-vde \ --disable-linux-aio \ --disable-cap-ng \