From patchwork Sun Dec 9 16:35:13 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: 204743 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 B310B2C01FA for ; Mon, 10 Dec 2012 03:41:10 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7FBE3A012A; Sun, 9 Dec 2012 16:41:09 +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 RaaZC23D1YMo; Sun, 9 Dec 2012 16:41:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 03554A0139; Sun, 9 Dec 2012 16:37:31 +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 ED5308F74B for ; Sun, 9 Dec 2012 16:36:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DCC7781B94 for ; Sun, 9 Dec 2012 16:36:18 +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 m-KYnwUrLycw for ; Sun, 9 Dec 2012 16:36:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by whitealder.osuosl.org (Postfix) with ESMTPS id CFB14884E1 for ; Sun, 9 Dec 2012 16:36:17 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id ds1so464860wgb.4 for ; Sun, 09 Dec 2012 08:36:17 -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=kyCmpNNPQZDS60fqu7DuUg+gC75mTBp0YdPipkR5IQw=; b=X2mgWVgNq20Ga91ENLhgfLPjMj1SShfnGlEC/Bqq16BiwfH+deifXrRVPMroLwBer+ fsnAgCQDAtj3APifDY2R/y4wKcsueDFBhMoWKo1lu4jsA11HfsWWXvSaZlZdEWhab8Mn ekCINaYQXuo0/+eIJSTqZWwxvgLOat5k7oKHAD34rqwAO+owAZrmA+7STPnKzx6tyKCL sG+S/HVxdEJ8OvuvQvwrGsBFpUmVmQ/pTvW5F/Lf5QukSs71tqjLW5BBJlapZ1g31HGV y/33tp/LySuBBRznRfzw3o3/wKAoyJDcDztw6GNDrMXTqJ0aaTDCtn1IgqNoUZbQN2tv uelw== Received: by 10.180.20.177 with SMTP id o17mr6926927wie.18.1355070977343; Sun, 09 Dec 2012 08:36:17 -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.16 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Dec 2012 08:36:16 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Sun, 9 Dec 2012 17:35:13 +0100 Message-Id: <1355070924-8009-41-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 40/51] package/qemu: add support for VDE switches 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 | 7 +++++++ package/qemu/qemu.mk | 8 +++++++- 2 files changed, 14 insertions(+), 1 deletions(-) diff --git a/package/qemu/Config.in b/package/qemu/Config.in index bb12965..ac5df9e 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -172,6 +172,13 @@ config BR2_PACKAGE_QEMU_BLUEZ comment "BlueZ connectivity depends on bluez-utils" depends on !BR2_PACKAGE_BLUEZ_UTILS +config BR2_PACKAGE_QEMU_VDE + bool "Enable VDE" + select BR2_PACKAGE_VDE2 + help + Say 'y' here to have QEMU connect to VDE (Virtual Distributed + Ethernet) switches. + comment "Misc. features" config BR2_PACKAGE_QEMU_UUID diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index c5e7547..ccce2b4 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -183,6 +183,13 @@ else QEMU_OPTS += --disable-bluez endif +ifeq ($(BR2_PACKAGE_QEMU_VDE),y) +QEMU_OPTS += --enable-vde +QEMU_DEPENDENCIES += vde2 +else +QEMU_OPTS += --disable-vde +endif + ifeq ($(BR2_PACKAGE_QEMU_UUID),y) QEMU_OPTS += --enable-uuid QEMU_DEPENDENCIES += util-linux @@ -291,7 +298,6 @@ define QEMU_CONFIGURE_CMDS --disable-brlapi \ --disable-fdt \ --disable-guest-base \ - --disable-vde \ --disable-docs \ --disable-spice \ --disable-rbd \