From unknown Thu Aug 14 22:20:32 2025 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-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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 From unknown Thu Aug 14 22:20:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48262] [PATCH version-1.3.0 1/3] gnu: spice-vdagent: Update to 0.21.0 and enable GTK+ support. References: <20210506172355.11694-1-maxim.cournoyer@gmail.com> In-Reply-To: <20210506172355.11694-1-maxim.cournoyer@gmail.com> Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 May 2021 17:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48262 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48262@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 48262-submit@debbugs.gnu.org id=B48262.162032207222102 (code B ref 48262); Thu, 06 May 2021 17:28:01 +0000 Received: (at 48262) by debbugs.gnu.org; 6 May 2021 17:27:52 +0000 Received: from localhost ([127.0.0.1]:38716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lehmx-0005kQ-W8 for submit@debbugs.gnu.org; Thu, 06 May 2021 13:27:52 -0400 Received: from mail-qv1-f48.google.com ([209.85.219.48]:33787) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lehmv-0005kK-KK for 48262@debbugs.gnu.org; Thu, 06 May 2021 13:27:50 -0400 Received: by mail-qv1-f48.google.com with SMTP id i8so3493509qvv.0 for <48262@debbugs.gnu.org>; Thu, 06 May 2021 10:27:49 -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=y8W703RQ69m5JkhSV13OJDVMnz0Eix8rwZJvSmdy3rQ=; b=FUeKm0UbCSDH0Cf3n5T81UaXfNlTIW885l6FOa9RDef+arqLTZh+Xz0MtZCNoF6iIK QX9hgPoo9+nvGpabKeRBV3Py3KqBJ+bov9Nvu7P05FTjTkUJtvzjDaXDn3aU/TuvB5Pu mHN2/dKkHkafzIzZ37vvi8nn5d+YdVDPOs5hp6kCs0Ik6U/1ho6KSjCHwnj+j+YDDRVj M4Q+njXTU0jYwpxMF8bFK+pt9aI5J9MtlpaJb7GczBd0q/hV3dv3rAquPE1ZotSMaWU8 1W5tntZKLBAKu8sbvRrlaFivhu/ttnnyeohO0l7SaH5Eu66tMaMzMlMCfjVY3/eRy0t/ uWOw== 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=y8W703RQ69m5JkhSV13OJDVMnz0Eix8rwZJvSmdy3rQ=; b=cq/NlzbvLI0WzIMh7si5YZR8tG9NgX66OV2jZOjfWCzVI9kWyIGhAxl1FGI7EuylI1 +eDix+HcoH4ZHbXlxRkNzMHwKI588YfoLP1b3TGXL6jANWiXEcFYBQWMy0iy5k/MqAQc fi9LAC7slTFK8Ui4aBkgucInKmbVGqwTUhhz3vv31vE4KUrxmdT4Wqj2ibmSxnPT6Opk KGMoMgwDx2jscmgcn2+6agA+OHEpg++quUFopd9bCG4Zn+uK4zKEdkIHA6qWhpNncYWC 1UKxgPof64QTibaLx6MbJ5fjwxqEsOMR4DlJ3jNEbV5I5/GnVUdaCTDJ7vTMPFCNy6t6 5orw== X-Gm-Message-State: AOAM532kkKbcCIFe8X8+6ckc6rFJRocs614d7Cc5Its8ZEdx7mb3kSkB NfltnHxd/HHbed07i00NN3+6wsN/fSA5Dg== X-Google-Smtp-Source: ABdhPJyXsDU1qwHwNewFrY/EsbdqLzxZ2mnB/6fshqVsQCzmCa1HbNnc2FIxtImHKvdbjIse3S1xzw== X-Received: by 2002:a05:6214:a0b:: with SMTP id dw11mr5822607qvb.51.1620322063979; Thu, 06 May 2021 10:27:43 -0700 (PDT) Received: from localhost.localdomain (dsl-10-131-245.b2b2c.ca. [72.10.131.245]) by smtp.gmail.com with ESMTPSA id y13sm2495704qkj.84.2021.05.06.10.27.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 May 2021 10:27:43 -0700 (PDT) From: Maxim Cournoyer Date: Thu, 6 May 2021 13:27:30 -0400 Message-Id: <20210506172732.12294-1-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/spice.scm (spice-vdagent): Update to 0.21.0. Remove trailing #t. [make-flags]: New argument. [phases]{fix-test-termination}: New phase. [inputs]: Add gtk+. [native-inputs]{procps}: New input. --- gnu/packages/spice.scm | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index 92aeef7f79..0e47609b9e 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -261,7 +261,7 @@ Internet and from a wide variety of machine architectures.") (define-public spice-vdagent (package (name "spice-vdagent") - (version "0.20.0") + (version "0.21.0") (source (origin (method url-fetch) (uri (string-append @@ -269,11 +269,14 @@ Internet and from a wide variety of machine architectures.") "spice-vdagent-" version ".tar.bz2")) (sha256 (base32 - "0n9k2kna2gd1zi6jv45zsp2jlv439nz5l5jjijirxqaycwi74srf")))) + "0n8jlc1pv6mkry161y656b1nk9hhhminjq6nymzmmyjl7k95ymzx")))) (build-system gnu-build-system) (arguments `(#:configure-flags '("--localstatedir=/var") + ;; The test-session-info test fails for unknown reasons (see: + ;; https://gitlab.freedesktop.org/spice/linux/vd_agent/-/issues/24). + #:make-flags '("XFAIL_TESTS=tests/test-session-info") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-makefile.in @@ -281,19 +284,27 @@ Internet and from a wide variety of machine architectures.") (substitute* "Makefile.in" (((string-append "\\$\\(mkdir_p\\) \\$\\(DESTDIR\\)" "\\$\\(localstatedir\\)/run/spice-vdagentd")) - "-$(mkdir_p) $(DESTDIR)$(localstatedir)/run/spice-vdagentd")) - #t)) + "-$(mkdir_p) $(DESTDIR)$(localstatedir)/run/spice-vdagentd")))) (add-after 'unpack 'patch-spice-vdagent.desktop (lambda* (#:key outputs #:allow-other-keys) (substitute* "data/spice-vdagent.desktop" (("Exec=/usr/bin/spice-vdagent") (string-append "Exec=" (assoc-ref outputs "out") - "/bin/spice-vdagent"))) - #t))))) + "/bin/spice-vdagent"))))) + (add-after 'unpack 'fix-test-termination + (lambda _ + ;; The termination tests depend on finding the socket file name + ;; in the spice-vdagent command line it launched, but by default + ;; ps truncates its output, which causes the test to fail (see: + ;; https://gitlab.freedesktop.org/spice/linux/vd_agent/-/merge_requests/36). + (substitute* "tests/test-termination.c" + (("ps -ef") + "ps -efww"))))))) (inputs `(("alsa-lib" ,alsa-lib) ("dbus" ,dbus) ("glib" ,glib) + ("gtk+" ,gtk+) ("libdrm" ,libdrm) ("libpciaccess" ,libpciaccess) ("libx11" ,libx11) @@ -303,7 +314,8 @@ Internet and from a wide variety of machine architectures.") ("libxrandr" ,libxrandr) ("spice-protocol" ,spice-protocol))) (native-inputs - `(("pkg-config" ,pkg-config))) + `(("pkg-config" ,pkg-config) + ("procps" ,procps))) ;tests use 'ps' (synopsis "Spice agent for Linux") (description "Spice-vdagent enables sharing the clipboard and guest display resolution scaling on graphical console window resize.") -- 2.31.1 From unknown Thu Aug 14 22:20:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48262] [PATCH version-1.3.0 2/3] services: spice-vdagent: Clear the socket file prior to starting. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 May 2021 17:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48262 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48262@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 48262-submit@debbugs.gnu.org id=B48262.162032208222140 (code B ref 48262); Thu, 06 May 2021 17:29:02 +0000 Received: (at 48262) by debbugs.gnu.org; 6 May 2021 17:28:02 +0000 Received: from localhost ([127.0.0.1]:38720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lehn8-0005kv-B8 for submit@debbugs.gnu.org; Thu, 06 May 2021 13:28:02 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:37587) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lehn6-0005kX-Cw for 48262@debbugs.gnu.org; Thu, 06 May 2021 13:28:00 -0400 Received: by mail-qt1-f173.google.com with SMTP id g13so4616252qts.4 for <48262@debbugs.gnu.org>; Thu, 06 May 2021 10:28:00 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=FLkC0Ke2hXvvB2RpvZvoheOARp0aZWFxKRyivduEY8M=; b=Z5mt6Cskdr0gNQeeYoHt/kceu/cfxR/NoKl+mEQIpRL2i9D2Lk58seimR17d5XV0Zs +0YmitCtL5dXg1hRNBW1zIq3ePIk+BRvzwllyWL0fRf5LLNmxuhJ8EuAjIlMmStCsPBd d/PadXWbNsxTvxo55oYyjFPrDdd4SQF+Se6Jl7lbu/zFoifhDH8gqF7uKbie2FWM8QUw WmQ5NPzSSHO8vzTJaGCIeygLXeiIYiU+rp89nXYIDgVtiCL1l/OybW8dSxLw/n2lDO4m pJXFcPLQ3dUf/rzIc3MYTXio5rA+UlCQjlPRL6Ql/lYZzRl+tszJMvziGY1nKRUOnTt7 UM4A== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=FLkC0Ke2hXvvB2RpvZvoheOARp0aZWFxKRyivduEY8M=; b=imoeV+dUwnaxZT5Eqxnv3fPOmf9upBrK5RIa01Lo3qj4LxmM71Cnsk3NMP0PpD45yj SGShFR6i31qX7oWatn4nwLInv2dpY41/taIjOtGm+FfwG4+a6iE69P6MlCoNFlefKoYF kwiUCzaBPOK1vtlpfcdd/iuNSOWZ9GQFVucEaQ/bMyGPQ6prnQMxJDInLLuuT6zqz5hF jRVqn6IQV2rGdMWhwzkFjnoa9hMHp/tL9o5H6f1wXD40pTVXxMnWmpBTYbe1h4Ky/cPm SivH2nEtq+wcaXQ6UzRFkLq+/Ya1ynlcOAuFZhwHuGomERFsygboeDq4OKl+FdTq/Z9Q JV3Q== X-Gm-Message-State: AOAM533sSitrRtNwRB0hycR0CVpTeruEUwAQ9tfSM+VnuuN8/hNNVint FU4k5yEB4Yf8kYRJUPdGzV/PrhtRLDwH6Q== X-Google-Smtp-Source: ABdhPJx7S5Vs0wjNKXl/JCX6UfV1vAlC/7Bm6Djq9M9huZyfTPNYYcX5ju0N73QYxNBSZ1OWd3c6ZA== X-Received: by 2002:ac8:7fc5:: with SMTP id b5mr5284725qtk.122.1620322074328; Thu, 06 May 2021 10:27:54 -0700 (PDT) Received: from localhost.localdomain (dsl-10-131-245.b2b2c.ca. [72.10.131.245]) by smtp.gmail.com with ESMTPSA id y13sm2495704qkj.84.2021.05.06.10.27.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 May 2021 10:27:54 -0700 (PDT) From: Maxim Cournoyer Date: Thu, 6 May 2021 13:27:31 -0400 Message-Id: <20210506172732.12294-2-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210506172732.12294-1-maxim.cournoyer@gmail.com> References: <20210506172732.12294-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This fixes the following issue where spice-vdagent would fail to start if the spice-vdagent-sock socket file already existed: spice-vdagentd: Fatal could not create the server socket /run/spice-vdagentd/spice-vdagent-sock: Error binding to address: Address already in use The requirement is also modified to depend on dbus-system, a cue taken from upstream's own systemd service file (see 'data/spice-vdagentd.service' in the sources). * gnu/services/spice.scm (spice-vdagent-activation): Delete procedure. (spice-vdagent-shepherd-service): Fix indentation. [requirement]: Replace udev by dbus-system. [start]: Ensure the spice-vdagentd run-time directory exists and that the spice-vdagent-sock socket file does *not* exist before forking the daemon. --- gnu/services/spice.scm | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/gnu/services/spice.scm b/gnu/services/spice.scm index a2aee4ab2a..3b88e29043 100644 --- a/gnu/services/spice.scm +++ b/gnu/services/spice.scm @@ -34,28 +34,29 @@ (spice-vdagent spice-vdagent-configuration-spice-vdagent (default spice-vdagent))) -(define (spice-vdagent-activation config) - "Return the activation gexp for CONFIG." - #~(begin - (use-modules (guix build utils)) - (mkdir-p "/run/spice-vdagentd"))) - (define (spice-vdagent-shepherd-service config) "Return a for spice-vdagentd with CONFIG." (define spice-vdagent (spice-vdagent-configuration-spice-vdagent config)) (define spice-vdagentd-command (list - (file-append spice-vdagent "/sbin/spice-vdagentd") - "-x")) + (file-append spice-vdagent "/sbin/spice-vdagentd") + "-x")) (list - (shepherd-service - (documentation "Spice vdagentd service") - (requirement '(udev)) - (provision '(spice-vdagentd)) - (start #~(make-forkexec-constructor '#$spice-vdagentd-command)) - (stop #~(make-kill-destructor))))) + (shepherd-service + (documentation "Spice vdagentd service") + (requirement '(dbus-system)) + (provision '(spice-vdagentd)) + (start #~(lambda args + ;; spice-vdagentd supports being activated upon the client + ;; connecting to its socket; when not using such feature, the + ;; socket should not exist before vdagentd creates it itself. + (mkdir-p "/run/spice-vdagentd") + (false-if-exception + (delete-file "/run/spice-vdagentd/spice-vdagent-sock")) + (fork+exec-command '#$spice-vdagentd-command))) + (stop #~(make-kill-destructor))))) (define spice-vdagent-profile (compose list spice-vdagent-configuration-spice-vdagent)) @@ -67,8 +68,6 @@ (extensions (list (service-extension shepherd-root-service-type spice-vdagent-shepherd-service) - (service-extension activation-service-type - spice-vdagent-activation) (service-extension profile-service-type spice-vdagent-profile))))) -- 2.31.1 From unknown Thu Aug 14 22:20:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48262] [PATCH version-1.3.0 3/3] gnu: system: Add SPICE capability to the VM image. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 May 2021 17:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48262 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48262@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 48262-submit@debbugs.gnu.org id=B48262.162032208522152 (code B ref 48262); Thu, 06 May 2021 17:29:02 +0000 Received: (at 48262) by debbugs.gnu.org; 6 May 2021 17:28:05 +0000 Received: from localhost ([127.0.0.1]:38723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lehnA-0005lE-Px for submit@debbugs.gnu.org; Thu, 06 May 2021 13:28:04 -0400 Received: from mail-qk1-f176.google.com ([209.85.222.176]:33287) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lehn9-0005kY-Tv for 48262@debbugs.gnu.org; Thu, 06 May 2021 13:28:04 -0400 Received: by mail-qk1-f176.google.com with SMTP id o5so5745768qkb.0 for <48262@debbugs.gnu.org>; Thu, 06 May 2021 10:28:03 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=9h12S2Nw8P5MGZRXqbAMoVWSyQd9rhFNpk0TMyC0QzY=; b=AoiGMK04Rurz7JQI2yiI8yl+XqyUq+Jm9M4TWOmMvE2QxCSMU2+AwVOgKv0DEvKbmn A2GodkWNVsnDg0lXBEm0uYLGZF0NSFnD+zYBQGWGsfXC0C2z1jGJvDfb0DFkQJn2H9vi 35z9OWlhh+HH6RqtLq02FNdJYaL7zWnQuTLMBs8cxjCuVr+T+dumJfOGcyQUpbxuKxz3 nh0DwH08/NPPaghaeYh7T5dh0fzrH73pKdHQvRwOn7QvhdYwJuzn/rxyFvRbVdQPV/Eo aUKXU1Hz4cRFtCV0MXbf2Lhai+p2hzLXc7o0YGMn7sjY9gZlfDnE1cwQ9bCLWmtw+OnE 9d7w== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=9h12S2Nw8P5MGZRXqbAMoVWSyQd9rhFNpk0TMyC0QzY=; b=gRKm2FrX1YKgQ7/kr0SgU9N1huRzm7CmLRAaI8nzQhym6tk7IfOEc7QDOBSUEy7nBi Zv3LwA54FLvWPcwsm0PLca1Toog50ZQR1QoWWgQWRHlu/i+3TSxwa/tVFmFyjCih6+8q /JGfDGZJVal++RfEW0FzzIFKUkqpbp2IZTKboyzinl44UTRItU2DoZezucNh+i/j89aA Y44lWK2nec5+NLmmD+juGSgO3WNV8fw90GyK2opPnI7+ehU2rSB/MZBWHzFLYS/o55ec CvXfF8zCABt22N3aUc6/V++CikS7eFsvuhCHqAT+X5Ra1buez3GPVB62s1QmncUEfkgA Fjuw== X-Gm-Message-State: AOAM532yu1+v+d96uq8JZdvzZ60ecm0NTwUMP1IWz4nsb2COseEyV+X+ ynodmHG4lwNFgegAhBYukEB3lvXQtDk6tQ== X-Google-Smtp-Source: ABdhPJywRAGyqr6CJ02mvRHvxKNdjws5z+ek63BfAVqhaYyKZi1JSRIJOtbuu3n2WKbMX0e7++J+dQ== X-Received: by 2002:a37:ae02:: with SMTP id x2mr5058723qke.335.1620322078367; Thu, 06 May 2021 10:27:58 -0700 (PDT) Received: from localhost.localdomain (dsl-10-131-245.b2b2c.ca. [72.10.131.245]) by smtp.gmail.com with ESMTPSA id y13sm2495704qkj.84.2021.05.06.10.27.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 May 2021 10:27:58 -0700 (PDT) From: Maxim Cournoyer Date: Thu, 6 May 2021 13:27:32 -0400 Message-Id: <20210506172732.12294-3-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210506172732.12294-1-maxim.cournoyer@gmail.com> References: <20210506172732.12294-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/system/examples/vm-image.tmpl (services) [spice-vdagent-service-type]: Add service. [slim-service-type] : Add the xf86-video-qxl module. --- gnu/system/examples/vm-image.tmpl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gnu/system/examples/vm-image.tmpl b/gnu/system/examples/vm-image.tmpl index bcb2ba614c..1a2dfca452 100644 --- a/gnu/system/examples/vm-image.tmpl +++ b/gnu/system/examples/vm-image.tmpl @@ -5,7 +5,7 @@ ;; (use-modules (gnu) (guix) (srfi srfi-1)) -(use-service-modules desktop networking ssh xorg) +(use-service-modules desktop networking spice ssh xorg) (use-package-modules bootloaders certs fonts nvi package-management wget xorg) @@ -75,11 +75,20 @@ root ALL=(ALL) ALL (default-user "guest") (xorg-configuration (xorg-configuration + ;; The QXL virtual GPU driver is added to provide + ;; a better SPICE experience. + (modules (cons xf86-video-qxl + %default-xorg-modules)) (keyboard-layout keyboard-layout))))) ;; Uncomment the line below to add an SSH server. ;;(service openssh-service-type) + ;; Add support for the SPICE protocol, which enables dynamic + ;; resizing of the guest screen resolution, clipboard + ;; integration with the host, etc. + (service spice-vdagent-service-type) + ;; Use the DHCP client service rather than NetworkManager. (service dhcp-client-service-type)) -- 2.31.1 From unknown Thu Aug 14 22:20:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Maxim Cournoyer Subject: bug#48262: closed (Re: [PATCH version-1.3.0 3/3] gnu: system: Add SPICE capability to the VM image.) Message-ID: References: <87h7jewo6q.fsf@gmail.com> <20210506172355.11694-1-maxim.cournoyer@gmail.com> X-Gnu-PR-Message: they-closed 48262 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 48262@debbugs.gnu.org Date: Fri, 07 May 2021 15:37:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1620401822-31107-1" This is a multi-part message in MIME format... ------------=_1620401822-31107-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #48262: [PATCH version-1.3.0 0/3] Enable SPICE for the Guix VM image. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 48262@debbugs.gnu.org. --=20 48262: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48262 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1620401822-31107-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 48262-done) by debbugs.gnu.org; 7 May 2021 15:36:54 +0000 Received: from localhost ([127.0.0.1]:44566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lf2X8-00085W-Bb for submit@debbugs.gnu.org; Fri, 07 May 2021 11:36:54 -0400 Received: from mail-qt1-f170.google.com ([209.85.160.170]:43631) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lf2X6-00085O-Oq for 48262-done@debbugs.gnu.org; Fri, 07 May 2021 11:36:53 -0400 Received: by mail-qt1-f170.google.com with SMTP id a18so6865207qtj.10 for <48262-done@debbugs.gnu.org>; Fri, 07 May 2021 08:36:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=O4uvCfmO+Be1ROnmuTe4YAyUmrWTPTASc3Q0kAGklWA=; b=EYIHZ4Iwp93OwjRHT++vZqCq2jEWA1H/bDIteXdeH/SlzexmAFjlsAo05IU/tkMGfp svUs+HmdLVk+ZNVcN9X6Y0LdeNyfZDqVWIOtG6lteK9j0msR02Sscl67GubDJQcPGfcc CWOis9za1UkxefzeqzNkfzzW8H6hQG0DFWzIJtLRBU8Yg2xuAUSF1xvOa9WdKKR4JkFC /8cbrpd8aCFH+nhJn3Gs670YrPizIaC8VkX7fgQ5nFB6s/G4CYahr2X1ItuulDnYfHRT uZcbHrXo93TodmtSw6J8HxnLkoXGtZjmc8Rjer3Kfc036n6VlCh3fs3CkLWBCin7N4Hg p1DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=O4uvCfmO+Be1ROnmuTe4YAyUmrWTPTASc3Q0kAGklWA=; b=CanbXKgl6z+FNfQug4hdQjLIaVJIwEEcX4zJuD87ISomVv41NVZ4n1CV7JuogLtfWk JiUhAetXTK6vtnQ5vTkXssMacqNIKK56bUtHQ5GUAdOXWJ+TxWkO0eAdfsaQCordnwYW JulLhBS6f8KyhIjoP+j24bqh9+MheTavhmomG4KxX9F0oR8q/BeDVtkDl7rPOe9698sF Op1DOfvjGW+BaP0cqZGTcPnRn8twq6h4oOPOKWADUf5K/G+/twPyWrhccLic8K8xMqSX 13YWf+EFAk3MTTQJ1rqtlT/bdm4Pu05Y57Yex0O6BgD0PClkqbUn5GoFNoUXiqDWaOp4 ihdg== X-Gm-Message-State: AOAM530Giw6PAT/lCJuAa8Va04hFzrknpwW1rpD0C2iDOCPVMJQFF7kR ywyk9pMg2h0yiJQm46OmdKIN881/PUM= X-Google-Smtp-Source: ABdhPJzyFxie/bSD0q6lcSyjzi5IK9Nwd5LVBl4clt5nVq74n3VWsm3isiCh+KpSV365GK6/ZGM14w== X-Received: by 2002:ac8:7c47:: with SMTP id o7mr3528925qtv.361.1620401806830; Fri, 07 May 2021 08:36:46 -0700 (PDT) Received: from hurd (dsl-10-130-94.b2b2c.ca. [72.10.130.94]) by smtp.gmail.com with ESMTPSA id w67sm4963628qkc.79.2021.05.07.08.36.46 for <48262-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 May 2021 08:36:46 -0700 (PDT) From: Maxim Cournoyer To: 48262-done@debbugs.gnu.org Subject: Re: [PATCH version-1.3.0 3/3] gnu: system: Add SPICE capability to the VM image. References: <20210506172732.12294-1-maxim.cournoyer@gmail.com> <20210506172732.12294-3-maxim.cournoyer@gmail.com> Date: Fri, 07 May 2021 11:36:45 -0400 In-Reply-To: <20210506172732.12294-3-maxim.cournoyer@gmail.com> (Maxim Cournoyer's message of "Thu, 6 May 2021 13:27:32 -0400") Message-ID: <87h7jewo6q.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48262-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Maxim Cournoyer writes: > * gnu/system/examples/vm-image.tmpl (services) > [spice-vdagent-service-type]: Add service. > [slim-service-type] : Add the xf86-video-qxl module. > --- > gnu/system/examples/vm-image.tmpl | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > diff --git a/gnu/system/examples/vm-image.tmpl b/gnu/system/examples/vm-image.tmpl > index bcb2ba614c..1a2dfca452 100644 > --- a/gnu/system/examples/vm-image.tmpl > +++ b/gnu/system/examples/vm-image.tmpl > @@ -5,7 +5,7 @@ > ;; > > (use-modules (gnu) (guix) (srfi srfi-1)) > -(use-service-modules desktop networking ssh xorg) > +(use-service-modules desktop networking spice ssh xorg) > (use-package-modules bootloaders certs fonts nvi > package-management wget xorg) > > @@ -75,11 +75,20 @@ root ALL=(ALL) ALL > (default-user "guest") > (xorg-configuration > (xorg-configuration > + ;; The QXL virtual GPU driver is added to provide > + ;; a better SPICE experience. > + (modules (cons xf86-video-qxl > + %default-xorg-modules)) > (keyboard-layout keyboard-layout))))) > > ;; Uncomment the line below to add an SSH server. > ;;(service openssh-service-type) > > + ;; Add support for the SPICE protocol, which enables dynamic > + ;; resizing of the guest screen resolution, clipboard > + ;; integration with the host, etc. > + (service spice-vdagent-service-type) > + > ;; Use the DHCP client service rather than NetworkManager. > (service dhcp-client-service-type)) I've now pushed this series to the version-1.3.0 branch. Thank you, Maxim ------------=_1620401822-31107-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 To: guix-patches@gnu.org Subject: [PATCH version-1.3.0 0/3] Enable SPICE for the Guix VM image. 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: ludo@gnu.org, Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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 ------------=_1620401822-31107-1--