From patchwork Sun Feb 3 14:06:48 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: 217768 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id A690F2C0090 for ; Mon, 4 Feb 2013 01:09:30 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5D5AC101AF9; Sun, 3 Feb 2013 14:09:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1Psw3CGElcF4; Sun, 3 Feb 2013 14:09:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id E44FB101B65; Sun, 3 Feb 2013 14:07:41 +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 B82938F753 for ; Sun, 3 Feb 2013 14:07:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3E6978B4D7 for ; Sun, 3 Feb 2013 14:07:43 +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 8MbTRT0zclmA for ; Sun, 3 Feb 2013 14:07:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by whitealder.osuosl.org (Postfix) with ESMTPS id B316A8B92A for ; Sun, 3 Feb 2013 14:07:31 +0000 (UTC) Received: by mail-wg0-f54.google.com with SMTP id fm10so3963430wgb.33 for ; Sun, 03 Feb 2013 06:07:30 -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=cN6iIrk6jolIJNkA+hYTfef8xTcQ2xubqiiPOYiTwww=; b=RPw33eLzs8VjJzZrFjVCfQvbDFji0XajwCU8QHzUvRHaGUvICHxprHEpUZJKkOmJaX dbe4OPbbOibwDwGqSefUkhp0dKrC2IE6VZkWKniDUHSjNNiJ8CLZsqWTbsJZQaOp9ghN qbVYMHJt/vEaoL2YspSX+VMqzUwXF/D+0FuThcun6aLaiZSmNvJyHWVTLOJov4+146Us zhCTqfCjEm+KS2kBuSv9E7uyy3T683k0leF0/gLg4x8pOTK9fWcxE4g3B0ANx8WDd8X0 B0RpA1LOl/r9eLHm6U/VR4wYMZyaUWD1fKza0r2Jw6GAmBNwQ/QlDRsuYBsmXbzED6Ui ZzGQ== X-Received: by 10.194.57.231 with SMTP id l7mr11296360wjq.9.1359900450106; Sun, 03 Feb 2013 06:07:30 -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 gy2sm2970685wib.3.2013.02.03.06.07.28 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 03 Feb 2013 06:07:29 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 3 Feb 2013 15:06:48 +0100 Message-Id: <5a9b12a473dbac0a329967563eca01738fd98930.1359899108.git.yann.morin.1998@free.fr> 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 7823842..4384cc5 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -101,6 +101,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 8d08f6b..d2b1bbf 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 @@ -235,7 +242,6 @@ define QEMU_CONFIGURE_CMDS --disable-fdt \ --disable-bluez \ --disable-guest-base \ - --disable-uuid \ --disable-vde \ --disable-linux-aio \ --disable-cap-ng \