From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sPnDI/0qlGAg7AAAgWs5BA (envelope-from ) for ; Thu, 06 May 2021 19:44:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KFhMH/0qlGBZIgAAbx9fmQ (envelope-from ) for ; Thu, 06 May 2021 17:44:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D95282A373 for ; Thu, 6 May 2021 19:44:28 +0200 (CEST) Received: from localhost ([::1]:51420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lehkL-0006K4-73 for larch@yhetil.org; Thu, 06 May 2021 13:25:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lehkE-0006Hm-RE for guix-patches@gnu.org; Thu, 06 May 2021 13:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55379) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lehkE-0007Wi-JB for guix-patches@gnu.org; Thu, 06 May 2021 13:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lehkE-0005iV-FN for guix-patches@gnu.org; Thu, 06 May 2021 13:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48262] [PATCH version-1.3.0 0/3] Enable SPICE for the Guix VM image. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 May 2021 17:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48262 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48262@debbugs.gnu.org Cc: ludo@gnu.org, Maxim Cournoyer X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162032187521963 (code B ref -1); Thu, 06 May 2021 17:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 May 2021 17:24:35 +0000 Received: from localhost ([127.0.0.1]:38691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lehjm-0005iB-SX for submit@debbugs.gnu.org; Thu, 06 May 2021 13:24:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:52146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lehjk-0005i5-WF for submit@debbugs.gnu.org; Thu, 06 May 2021 13:24:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lehjk-0005vl-PP for guix-patches@gnu.org; Thu, 06 May 2021 13:24:32 -0400 Received: from mail-qv1-xf2f.google.com ([2607:f8b0:4864:20::f2f]:43565) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lehjf-0007Bk-HX; Thu, 06 May 2021 13:24:32 -0400 Received: by mail-qv1-xf2f.google.com with SMTP id h1so3449619qvv.10; Thu, 06 May 2021 10:24:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FJru7Ml/o32pwhLOU87HuzNb1mI2ez8rcxx4OE0Yyt8=; b=GjB0B6XSBA2uhjL0Nxzy5Yp96Hch32nBSJTvpx8CpRgzr6AqcAAp31jYQPJtpIE+MU /V83QhVIK8FrxxXHvsm9VaJroQATfNbv5dJqX9QMzSRuJ1TfEEuei5TW5qqHLYyaxZUb qXeo0mNpbTXr5wHl7gK0KH2j0fLvFY/I1gEUp/grtM7FTksWr0wgZbe+MYRnmOXtUCFw jGiHGrgFmzMJwuDRmikU436h3ekIkMXouwxJNMoeyBvC688108aopefnQhrXN16o8kul Aw2xNKoEW/a8JjiQureSU4eNfBcTHOELh9cCkzZwATAllVzb+qLZhTkknelVTB6JjaSR RF6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FJru7Ml/o32pwhLOU87HuzNb1mI2ez8rcxx4OE0Yyt8=; b=eJJb8nFTa6JNkrGLQQSRgL6izGvzXejBp+hpaASW1svKtjwiDc+5rG2dyLgrSNJoXG YOj8fhJw9VfVfIvb0GGkq52Udsf1n7zYa6A+UDb7DhG7oh0q0TVeF5OE6nJNqcd1eBCE XMX+zulxsqiDjD4+ZxoBXIGQwgyzK5jDSzcAhTtxwHYhIfm0aY6otgpUAxqQC6yVAcJq WHosBl5Q3+JSKSYdku6qaaids68BOIpetZZ10I6EbRHZW42zhZxS1/9iAv6QR36EyrNS 3lSA0LgauVF2nmA2w9h7MNjP0I+x29N87NQHpixgFF+p/u5AQ/hr+T2Fd0wphZqXl7FV p5zQ== X-Gm-Message-State: AOAM530cP9+nQ49fglNt6n0P+tG6Xkir4i1oIL3YkdNhJT4O5gLDCFJf pbruK+28XxIDWpubbqKJhX1AdW7lViLS9A== X-Google-Smtp-Source: ABdhPJypr8nRD2ZPhLkdn3WxvlV5pURMSAuK0/1fUf62l7YmlDe5BEQrIXyGJBwegLAP3173bdedOA== X-Received: by 2002:a05:6214:62a:: with SMTP id a10mr5466131qvx.5.1620321863060; Thu, 06 May 2021 10:24:23 -0700 (PDT) Received: from localhost.localdomain (dsl-10-131-245.b2b2c.ca. [72.10.131.245]) by smtp.gmail.com with ESMTPSA id j13sm2631344qth.57.2021.05.06.10.24.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 May 2021 10:24:22 -0700 (PDT) From: Maxim Cournoyer Date: Thu, 6 May 2021 13:23:55 -0400 Message-Id: <20210506172355.11694-1-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::f2f; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf2f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620323069; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=FJru7Ml/o32pwhLOU87HuzNb1mI2ez8rcxx4OE0Yyt8=; b=kz0A7/3nOKCmzrNmTEw8Wqg2INFyUD/k4jwN5+uxs9K9GNP5hlMjBpf/c+5rexgjjhD4UG Ci+QEWdffdcANKZiMmi+NV9bdniuAl87C7ohdWU6zaBeziTBEQ1fnLwyrXxfvn8wqIxpTF /KwxMDTpfFZULLh1Q3NdLUh0zGo7qGfr1z8AinM2LLrA5zgntbiDjO5GMFaZVTWcAz6c/C eTKIKgC/yzYMPN/CoRmaBfGC5HsuE+1vXpuNtleHr3GHGUzRDc0W7hrGQudvYFXSLfhPLB k3EmHUhZ0fexWKJatVo9y6eaJCTL37eJCf5aRzBBbLDvjdb1Avn3uCithxuXMg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620323069; a=rsa-sha256; cv=none; b=AKvp578B5tCVMbPNfS0J6u5VXCJ1mOKgPKo8YOK2yXB/y09IKkIQhEqyZ71QYG4mPWsTHK Js+DTammASMwjqeFHjFDD0hSPNGBR0KMLNvjSWe/Jzy6ZphcP3DfiGGP3b75zWjP+hKFxt G9w2xzuApd6QO+IkKoBzkniPU396Y18amw7JYoKZA3OYpx9UCOt8Swp/t7n5hX/s1cJ2P4 65CpW1K2TluuvmDLSJTWUd65oADbtR+N6LAwlStOxSBWiGM/wh8MQRjfPuJPbRFQTjY/ZG krkM88vH249o2r9N7E01fHqTkn++mn5XejOcT0l/1dHXo6TJ9XrTHDvrUpMdKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=GjB0B6XS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 4.14 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=GjB0B6XS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: D95282A373 X-Spam-Score: 4.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7whdvqTBPPRJ These three patches enable the use of the SPICE protocol for the VM image, which provides benefits such as dynamically resizing the display of the guest, sharing the clip-board, smoother mouse support, etc. To test, generate the image with something like: $ image=$(./pre-inst-env guix system image -t qcow2 gnu/system/examples/vm-image.tmpl) $ cp $image /tmp/vm-test.qcow2 $ chmod +w /tmp/vm-test.qcow2 Then launch a SPICE-capable solution such as GNOME Boxes, and enjoy! I'd like to have these patches included in the RC2 that will go out later today. Thanks, Maxim Cournoyer (3): gnu: spice-vdagent: Update to 0.21.0 and enable GTK+ support. services: spice-vdagent: Clear the socket file prior to starting. gnu: system: Add SPICE capability to the VM image. gnu/packages/spice.scm | 26 +++++++++++++++++++------- gnu/services/spice.scm | 31 +++++++++++++++---------------- gnu/system/examples/vm-image.tmpl | 11 ++++++++++- 3 files changed, 44 insertions(+), 24 deletions(-) -- 2.31.1