GNU bug report logs - #48262
[PATCH version-1.3.0 0/3] Enable SPICE for the Guix VM image.

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Thu, 6 May 2021 17:25:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#48262: closed ([PATCH version-1.3.0 0/3] Enable SPICE for the
 Guix VM image.)
Date: Fri, 07 May 2021 15:37:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 07 May 2021 11:36:45 -0400
with message-id <87h7jewo6q.fsf <at> gmail.com>
and subject line Re: [PATCH version-1.3.0 3/3] gnu: system: Add SPICE capability to the VM image.
has caused the debbugs.gnu.org bug report #48262,
regarding [PATCH version-1.3.0 0/3] Enable SPICE for the Guix VM image.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
48262: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48262
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: ludo <at> gnu.org, Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [PATCH version-1.3.0 0/3] Enable SPICE for the Guix VM image.
Date: Thu,  6 May 2021 13:23:55 -0400
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



[Message part 3 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 48262-done <at> debbugs.gnu.org
Subject: Re: [PATCH version-1.3.0 3/3] gnu: system: Add SPICE capability to
 the VM image.
Date: Fri, 07 May 2021 11:36:45 -0400
Hi,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> * gnu/system/examples/vm-image.tmpl (services)
> [spice-vdagent-service-type]: Add service.
> [slim-service-type] <xorg-configuration>: 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


This bug report was last modified 4 years and 70 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.