From patchwork Mon Jun 29 20:50:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jared Bents X-Patchwork-Id: 1319251 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=rockwellcollins.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=rockwellcollins.com header.i=@rockwellcollins.com header.a=rsa-sha256 header.s=hrcrc2020 header.b=FlZ6ZTPe; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49wflK1zvlzB3wq for ; Tue, 30 Jun 2020 06:50:36 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 536FE2262E; Mon, 29 Jun 2020 20:50:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JS9EmdyP-9TK; Mon, 29 Jun 2020 20:50:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 06EEF2041D; Mon, 29 Jun 2020 20:50:30 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 5EE101BF2C4 for ; Mon, 29 Jun 2020 20:50:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 587DC88609 for ; Mon, 29 Jun 2020 20:50:20 +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 Xo1-yDuRgXbn for ; Mon, 29 Jun 2020 20:50:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from ch3vs03.rockwellcollins.com (ch3vs03.rockwellcollins.com [205.175.226.47]) by whitealder.osuosl.org (Postfix) with ESMTPS id DBE7A885F4 for ; Mon, 29 Jun 2020 20:50:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rockwellcollins.com; s=hrcrc2020; h=from:to:cc:subject:date:message-id; bh=GAXOpyBx9EpHJfVu9yJq9WgTTGunffy23YV+T5BPCyA=; b=FlZ6ZTPe7YY9mPYVKipUa92Tj02EdXuS0wAYmMkoOWflYzb51Jrlgh+i DaUX/9iCiOHLRvJVVTMuxPlPYEudEOx1EVefsLJBJXpujed+MgleJwXvD C+us585aUF2+9q6Wrxf92GHVp/YZ8SB/p41BYZrzog9WBByIPfSuDHeOm kvSHBe9qWkbLVF8AQyy/qMbZPhro5RDVYvv776lmR8K2nl+Tomk6fyfe+ GqNPBHUWnUwWpLpjok7AnG20wLLbnu4QvrwSH0wZJOIkQL6oWF4jsEu8e 4bKYlK25CHnwtv+gt8yMJ9yLpsvq3LaHQ0DC4m+59Ex2O1W15wXbpZWAK A==; IronPort-SDR: +1D27wZvaReleyrgjntV/aCA7hRbWgFRqQP6wPjzMOhQLpjfYTwVBCCQGBz2IW4qV+MsQorHTz QYl+3BRtM9U4u+eCAzJoxsXaP9nTEUcD3Jbzk+WyP6VrACN3cxI7QfGzdsB6ZfKldjm5YcBf5p BwLPS3Qgr5vJ6WPhwNKwA8R/MAi6ckv4C7NUxCnLJNCWZZUA64riia/y5ruN7WjaZk7JGsNmui zjG9svklXEtkFQwue5FfH6xr1MR17MNQVanP7W42tgYwQ5+yw4fgt5aQzvKtgM3o+wUlu33GrP YcQ= Received: from ofwch3n02.rockwellcollins.com (HELO dtulimr02.rockwellcollins.com) ([205.175.226.14]) by ch3vs03.rockwellcollins.com with ESMTP; 29 Jun 2020 15:50:07 -0500 X-Received: from gravy.rockwellcollins.com (gravy.rockwellcollins.lab [10.148.114.119]) by dtulimr02.rockwellcollins.com (Postfix) with ESMTP id B56C320072; Mon, 29 Jun 2020 15:50:06 -0500 (CDT) From: Jared Bents To: buildroot@busybox.net Date: Mon, 29 Jun 2020 15:50:00 -0500 Message-Id: <20200629205002.8087-1-jared.bents@rockwellcollins.com> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH v1 1/3] package/qemu: add spice support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jared Bents MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" update to add qemu spice support Signed-off-by: Jared Bents --- package/qemu/Config.in | 9 +++++++++ package/qemu/qemu.mk | 8 +++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/package/qemu/Config.in b/package/qemu/Config.in index 33d4cccd7b..3de73b69ec 100644 --- a/package/qemu/Config.in +++ b/package/qemu/Config.in @@ -127,6 +127,15 @@ config BR2_PACKAGE_QEMU_SDL comment "SDL frontend needs a toolchain w/ dynamic library" depends on BR2_STATIC_LIBS +config BR2_PACKAGE_QEMU_SPICE + bool "Enable Spice frontend" + depends on BR2_PACKAGE_SPICE + help + Say 'y' here to have QEMU support Spice as a (VNC-like) frontend. + +comment "Spice support requires spice-server" + depends on !BR2_PACKAGE_SPICE + comment "Misc. features" config BR2_PACKAGE_QEMU_FDT diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index cb138fd488..0b76e432e0 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -112,6 +112,13 @@ else QEMU_OPTS += --disable-numa endif +ifeq ($(BR2_PACKAGE_QEMU_SPICE),y) +QEMU_OPTS += --enable-spice +QEMU_DEPENDENCIES += spice +else +QEMU_OPTS += --disable-spice +endif + # Override CPP, as it expects to be able to call it like it'd # call the compiler. define QEMU_CONFIGURE_CMDS @@ -143,7 +150,6 @@ define QEMU_CONFIGURE_CMDS --disable-linux-io-uring \ --disable-cap-ng \ --disable-docs \ - --disable-spice \ --disable-rbd \ --disable-libiscsi \ --disable-usb-redir \ From patchwork Mon Jun 29 20:50:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jared Bents X-Patchwork-Id: 1319252 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=rockwellcollins.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=rockwellcollins.com header.i=@rockwellcollins.com header.a=rsa-sha256 header.s=hrcrc2020 header.b=faYNUVWv; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49wflQ6g8dzB3tK for ; Tue, 30 Jun 2020 06:50:42 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 718E688880; Mon, 29 Jun 2020 20:50:38 +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 yQ2f7tp7fVgZ; Mon, 29 Jun 2020 20:50:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 6C81B88DA6; Mon, 29 Jun 2020 20:50:36 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 27FB61BF966 for ; Mon, 29 Jun 2020 20:50:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1DEBE88613 for ; Mon, 29 Jun 2020 20:50:22 +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 KGo0UqeGxZeE for ; Mon, 29 Jun 2020 20:50:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from ch3vs03.rockwellcollins.com (ch3vs03.rockwellcollins.com [205.175.226.47]) by whitealder.osuosl.org (Postfix) with ESMTPS id EFDD486D53 for ; Mon, 29 Jun 2020 20:50:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rockwellcollins.com; s=hrcrc2020; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=+BtUDPq/PrWjrS2CbpIqnnNV/Ubs3pDueMrf9H0uhD0=; b=faYNUVWvmjKtuJrCYiHxWkpHByNdw4u2mgJrpOLGkgR5WpLPIpLSdI+i 94116Cpbyciy/30EAnu+I9qOxLY7ue/c5NaHhWEMV9YHIIx3Zu+uHHmia zAZf4AbF8DRST16WsI6CfqAnyH2sIVSk966G/lJtBq/3Rev6eU7q7rxw6 pAo8u+BRUkvXDC42GtqS0AcAOxLfZDKLlgw3THc07znhEjb4CrVnwAsNh +Ah2MIECVmj5nVToKJ/Hy+05LQ475xDklGgQ9ywAcMM7ACesjFQVemv52 YCupk+7ZumExuKDs8rFmm2HXZiD84EzCAO1xIiVj5UV2Xr28Vjtdhj7Tk A==; IronPort-SDR: oEl4K4yPpy7XcDbZsmkjvgPFYV7xvv1UoVXkOYbbAtzVWDdDUK0kdt0OzKokez5erBZ97u6K2a nr3i4L2kSAgYaIGiWxY7A9LacvSd+XifQbj29ln9dQURdluXxDORh39I3xDRTl1T+0vVx3dIE4 X5Edss0ZZxCGBdobUcZKeyQLo8segkEbTdR2mdW8jZ/LT2K3VrJUmeBVgPTvNmxO0qKoRmiO9c zDWxCYhCiXi94/iSZWloat94Nk0XQCc7LhFvk4/Xn5FaftV+oBCaPDTnmkVDP/UdLKIdLAt/8Y OCY= Received: from ofwch3n02.rockwellcollins.com (HELO dtulimr02.rockwellcollins.com) ([205.175.226.14]) by ch3vs03.rockwellcollins.com with ESMTP; 29 Jun 2020 15:50:09 -0500 X-Received: from gravy.rockwellcollins.com (gravy.rockwellcollins.lab [10.148.114.119]) by dtulimr02.rockwellcollins.com (Postfix) with ESMTP id 79FC920043; Mon, 29 Jun 2020 15:50:08 -0500 (CDT) From: Jared Bents To: buildroot@busybox.net Date: Mon, 29 Jun 2020 15:50:01 -0500 Message-Id: <20200629205002.8087-2-jared.bents@rockwellcollins.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200629205002.8087-1-jared.bents@rockwellcollins.com> References: <20200629205002.8087-1-jared.bents@rockwellcollins.com> Subject: [Buildroot] [PATCH v1 2/3] package/qemu: add vnc support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jared Bents MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" update to add vnc support to qemu if libvncserver is selected Signed-off-by: Jared Bents --- package/qemu/qemu.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 0b76e432e0..520547e94e 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -98,6 +98,13 @@ else QEMU_OPTS += --disable-libusb endif +ifeq ($(BR2_PACKAGE_LIBVNCSERVER),y) +QEMU_OPTS += --enable-vnc +QEMU_DEPENDENCIES += libvncserver +else +QEMU_OPTS += --disable-vnc +endif + ifeq ($(BR2_PACKAGE_NETTLE),y) QEMU_OPTS += --enable-nettle QEMU_DEPENDENCIES += nettle @@ -140,7 +147,6 @@ define QEMU_CONFIGURE_CMDS --disable-bsd-user \ --disable-containers \ --disable-xen \ - --disable-vnc \ --disable-virtfs \ --disable-brlapi \ --disable-curses \ From patchwork Mon Jun 29 20:50:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jared Bents X-Patchwork-Id: 1319250 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=rockwellcollins.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=rockwellcollins.com header.i=@rockwellcollins.com header.a=rsa-sha256 header.s=hrcrc2020 header.b=rsW3OdTJ; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49wflJ2NFpzB3tG for ; Tue, 30 Jun 2020 06:50:35 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1A5D688615; Mon, 29 Jun 2020 20:50:34 +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 ODuHY3jzRWar; Mon, 29 Jun 2020 20:50:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 41D27885F4; Mon, 29 Jun 2020 20:50:33 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 309791BF958 for ; Mon, 29 Jun 2020 20:50:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1412E885F4 for ; Mon, 29 Jun 2020 20:50:21 +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 JcAY15GXyxe9 for ; Mon, 29 Jun 2020 20:50:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from ch3vs04.rockwellcollins.com (ch3vs04.rockwellcollins.com [205.175.226.52]) by whitealder.osuosl.org (Postfix) with ESMTPS id 57A2A88615 for ; Mon, 29 Jun 2020 20:50:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rockwellcollins.com; s=hrcrc2020; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=d1gTOWd6/s4Uj1L99zqKzuWuo4ZkjlpiYyN7Q08Y2NQ=; b=rsW3OdTJZuPc07CZqhF/30x6qyUw2l8obwsOy7oUXUbOsykxd6nG8h1M a4ur23qSK8Pd50JbjIaZEI6rALlZV7hPEJgQEdoA59IwK33sLaNM3Yyvu jjiB+vAktiDa5jew8uWc9i1KF0F3Hz/p2t6Ft9zWI7c4BSLHdQeMvOI7l omwAupPyfaqHCxKUYEzqrgi4969qLcA4HzbqQw/RUPVtpVMZuD4uYutCd Y7amlL14h7peWQI4T2TSgPYAxTtfMLT0ieu9ZFKdi9ceNDH23yPSVMq9G +E+ivkQ1ydXtfbTETWudkIM5QoG1rzzZpHWE269PQ+r/I8hQQmnNsPK3N g==; IronPort-SDR: EWEATwd90Uge453qKJKJrsPPOC9DPBmxFuFpr36X1vfUkwxOOImwxnlk/FXRQMBcy5KVHsNSQB HnfrAG3QZ2E8vnkowxAZcXsmJMwbjeGS4aSkOcA+BeWqnYkEjz6+C6ZG1fCq3n+KvDsQADv+Kx QALDD9/AE5/F7T7Ivh6CaBQNmeYyZZ+PKMpsT2h2QxeZ3dlJ6hVo2r4MbeO6EAARumtCVWluOj x3sq4lnGn1XyRrxgtmErK7q2MwWAtFGVeyIAst4JkOEQ3SGlpuHAgjXOPiKTiUHLq1JmjJdLEd Nvc= Received: from ofwch3n02.rockwellcollins.com (HELO dtulimr02.rockwellcollins.com) ([205.175.226.14]) by ch3vs04.rockwellcollins.com with ESMTP; 29 Jun 2020 15:50:11 -0500 X-Received: from gravy.rockwellcollins.com (gravy.rockwellcollins.lab [10.148.114.119]) by dtulimr02.rockwellcollins.com (Postfix) with ESMTP id BA47520072; Mon, 29 Jun 2020 15:50:09 -0500 (CDT) From: Jared Bents To: buildroot@busybox.net Date: Mon, 29 Jun 2020 15:50:02 -0500 Message-Id: <20200629205002.8087-3-jared.bents@rockwellcollins.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200629205002.8087-1-jared.bents@rockwellcollins.com> References: <20200629205002.8087-1-jared.bents@rockwellcollins.com> Subject: [Buildroot] [PATCH v1 3/3] package/qemu: add usb-redir support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jared Bents MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" update to add usb-redir support to qemu if usbredir is enabled Signed-off-by: Jared Bents Reviewed-by: Romain Naour --- package/qemu/qemu.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 520547e94e..3ed5565221 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -126,6 +126,13 @@ else QEMU_OPTS += --disable-spice endif +ifeq ($(BR2_PACKAGE_USBREDIR),y) +QEMU_OPTS += --enable-usb-redir +QEMU_DEPENDENCIES += usbredir +else +QEMU_OPTS += --disable-usb-redir +endif + # Override CPP, as it expects to be able to call it like it'd # call the compiler. define QEMU_CONFIGURE_CMDS @@ -158,7 +165,6 @@ define QEMU_CONFIGURE_CMDS --disable-docs \ --disable-rbd \ --disable-libiscsi \ - --disable-usb-redir \ --disable-strip \ --disable-sparse \ --disable-mpath \