From patchwork Thu May 6 17:27:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 29154 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0502427BC81; Thu, 6 May 2021 18:29:18 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3AED627BC84 for ; Thu, 6 May 2021 18:29:15 +0100 (BST) Received: from localhost ([::1]:59500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lehoI-0001L8-Fo for patchwork@mira.cbaines.net; Thu, 06 May 2021 13:29:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leho7-0001KZ-72 for guix-patches@gnu.org; Thu, 06 May 2021 13:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55415) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1leho6-0001Yr-UT for guix-patches@gnu.org; Thu, 06 May 2021 13:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1leho6-0005lo-R9 for guix-patches@gnu.org; Thu, 06 May 2021 13:29:02 -0400 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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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))