From patchwork Fri Nov 12 22:41:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 34419 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 CCB9027BBE3; Fri, 12 Nov 2021 22:42:10 +0000 (GMT) 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_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED 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 931EA27BBE1 for ; Fri, 12 Nov 2021 22:42:10 +0000 (GMT) Received: from localhost ([::1]:36520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlfFJ-0004Bm-QS for patchwork@mira.cbaines.net; Fri, 12 Nov 2021 17:42:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlfFC-0004BT-UY for guix-patches@gnu.org; Fri, 12 Nov 2021 17:42:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlfFC-0004wP-LT for guix-patches@gnu.org; Fri, 12 Nov 2021 17:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlfFC-0008W8-Jo for guix-patches@gnu.org; Fri, 12 Nov 2021 17:42:02 -0500 Subject: bug#51573: [PATCH] gnu: virtualization: Add qemu-guest-agent service. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Fri, 12 Nov 2021 22:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 51573 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Timotej Lazar Cc: 51573-done@debbugs.gnu.org Mail-Followup-To: 51573@debbugs.gnu.org, ludo@gnu.org, timotej.lazar@araneo.si Received: via spool by 51573-done@debbugs.gnu.org id=D51573.163675690032703 (code D ref 51573); Fri, 12 Nov 2021 22:42:02 +0000 Received: (at 51573-done) by debbugs.gnu.org; 12 Nov 2021 22:41:40 +0000 Received: from localhost ([127.0.0.1]:46131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlfEp-0008VO-Iq for submit@debbugs.gnu.org; Fri, 12 Nov 2021 17:41:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlfEn-0008V7-Rg for 51573-done@debbugs.gnu.org; Fri, 12 Nov 2021 17:41:38 -0500 Received: from [2001:470:142:3::e] (port=40498 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlfEi-0004oi-8Z; Fri, 12 Nov 2021 17:41:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=8DWp3Erff+SmoeDXeRBPSz3Sm8GXJa1SAIRCJ2i75M4=; b=RWGgK1nnPxn3Oe2tKCgf X0TBG65xEkXeSJ815TEjwLvG1gbxswzH/40An85SVSMh1bZOQ1873xxnF2qgY7wRBrEMj4I35yi1z 66GSgteHNvySQxOGudaRX4fWB3hT8cRkqQt6iFsT3hz+hE5OqKsf/SdKwJSu1GIff6r/gp5zVUuE4 C/Y7DrwlmsSC0AiyLKX9OL9Sl+z4npUJ51AVRiEP+8NcGugbmmz3liRpMT+f4N2Gegp2Oawz1PxZl H4E+CRpApcQ2a8dadj0dCqMGT+Og+fEVJHi4sNJQjCZWkl894ui/xyP+p8xQ74NV8dEzw+lnEG9KB qtn22uRAXoCs7A==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:52826 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlfEg-0000Fx-QU; Fri, 12 Nov 2021 17:41:31 -0500 From: Ludovic =?utf-8?q?Court=C3=A8s?= References: <20211102190629.14471-1-timotej.lazar@araneo.si> Date: Fri, 12 Nov 2021 23:41:29 +0100 In-Reply-To: <20211102190629.14471-1-timotej.lazar@araneo.si> (Timotej Lazar's message of "Tue, 2 Nov 2021 20:06:32 +0100") Message-ID: <877ddddmjq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) 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 Hi, Timotej Lazar skribis: > * gnu/services/virtualization.scm (): New > record. > (qemu-guest-agent-shepherd-service): New procedure. > (qemu-guest-agent-service-type): New variable. > * doc/guix.texi (Virtualization Services): Document it. Nice. Do you think we could have a simple test under (gnu tests virtualization) for this? Applied with the cosmetic changes below. Thanks! Ludo’. diff --git a/doc/guix.texi b/doc/guix.texi index c0dfb2e5e2..7e54b5f75e 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -30060,14 +30060,14 @@ Return the name of @var{platform}---a string such as @code{"arm"}. @end deffn -@subsubheading QEMU guest agent +@subsubheading QEMU Guest Agent @cindex emulation The QEMU guest agent provides control over the emulated system to the host. The @code{qemu-guest-agent} service runs the agent on Guix guests. To control the agent from the host, open a socket by invoking -@code{qemu} with the following arguments: +QEMU with the following arguments: @example qemu-system-x86_64 \ @@ -30098,11 +30098,11 @@ Configuration for the @code{qemu-guest-agent} service. @table @asis @item @code{qemu} (default: @code{qemu-minimal}) -The qemu package to use. +The QEMU package to use. @item @code{device} (default: @code{""}) -Path to device or socket the agent uses to communicate with the host. -If empty, QEMU uses a default path. +File name of the device or socket the agent uses to communicate with the +host. If empty, QEMU uses a default file name. @end table @end deftp