From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iK9RA5iRfWGQFAAAgWs5BA (envelope-from ) for ; Sat, 30 Oct 2021 20:40:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yPJ4OpeRfWF7AgAAbx9fmQ (envelope-from ) for ; Sat, 30 Oct 2021 18:40:23 +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 3F8464FF1 for ; Sat, 30 Oct 2021 20:40:23 +0200 (CEST) Received: from localhost ([::1]:37758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgtHB-0008PS-JV for larch@yhetil.org; Sat, 30 Oct 2021 14:40:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgs4M-0005ze-IH for guix-patches@gnu.org; Sat, 30 Oct 2021 13:23:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46852) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgs4M-0002Y8-9H for guix-patches@gnu.org; Sat, 30 Oct 2021 13:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mgs4M-0004t6-4U for guix-patches@gnu.org; Sat, 30 Oct 2021 13:23:02 -0400 Subject: bug#51347: [PATCH] gnu: qemu: Add Guix support to QEMU guest agent. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sat, 30 Oct 2021 17:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 51347 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Timotej Lazar Cc: 51347-done@debbugs.gnu.org Mail-Followup-To: 51347@debbugs.gnu.org, ludo@gnu.org, timotej.lazar@araneo.si Received: via spool by 51347-done@debbugs.gnu.org id=D51347.163561455218723 (code D ref 51347); Sat, 30 Oct 2021 17:23:01 +0000 Received: (at 51347-done) by debbugs.gnu.org; 30 Oct 2021 17:22:32 +0000 Received: from localhost ([127.0.0.1]:58397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgs3s-0004rv-1g for submit@debbugs.gnu.org; Sat, 30 Oct 2021 13:22:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgs3q-0004rh-BS for 51347-done@debbugs.gnu.org; Sat, 30 Oct 2021 13:22:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgs3k-0002W6-Ie; Sat, 30 Oct 2021 13:22:24 -0400 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=/X/GszOEt67iQbLY0rOoYg7lDF7S9YsFEzO5E0GSCYo=; b=TrYQ6EphWYkORt5Cex8h fDpben7JSq7OsWqKzkdTDXP3gK89aCG+WIddE+Cc4VheIQ1JDI6phFdWy2thqmJXDgnK9Qd5c8VaT KoxuhldtiD7rZ7s+Kaq2gJfAgAJInWbNQmZObzDcJdD/DVNj1DzR5JEwSZY21BriXFduvzeyWJWaC Ax1C1ZYhFY2Zl66X4Ce1N6XCj2Y5qOKFLXWJd8AyT8bD7yji0Q6mRNtgoSr9r07kf/nK1PJHj2wZo iFpNG1To/0Bbr3+h29FHalNcumGMKf8ZodvkXKnzoHvQFk3Preu77tw8VIMRbHu5wK+Dbun24ysRg aqPcAMXljxfEnQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:55498 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgs3k-0001ry-3a; Sat, 30 Oct 2021 13:22:24 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20211023100317.17718-1-timotej.lazar@araneo.si> Date: Sat, 30 Oct 2021 19:22:22 +0200 In-Reply-To: <20211023100317.17718-1-timotej.lazar@araneo.si> (Timotej Lazar's message of "Sat, 23 Oct 2021 12:03:18 +0200") Message-ID: <87ee82sa0h.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1635619223; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=/X/GszOEt67iQbLY0rOoYg7lDF7S9YsFEzO5E0GSCYo=; b=MhJfY9pzkprVEQA2bRmDcc0ZyNVLVPyiDjwybNbEhlLkrXmx+2prblv9QXhGEolSrdGxJH YS1cnEqSu5SRVagCfWVZuaiWE7iz4VpZGVUd8YSlHcxDxG5DTBP0jFXX6iuHmpi+yepe4B /gtjMMmQEJR6j4xkDVxE/cfH2Ke+FqsY/fFAlnXda5tPwkw+3RYPr9K9v1ypVvc62QCqIx vQKQGxff59DX0e3dSAR0JBr2dwtubNFDEwFYY9vMfeux2FsZNFtxsydqPiq6T8At1wJ1Zn 39iEJvtAPJYlojSmWhDV3oFnyQsw4la4qtjPbP9YFuqajSct/eM1E9CsSpfo5g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635619223; a=rsa-sha256; cv=none; b=VL9b65g0MvKVhvDbnlCau9wNHxOrl7BtdmKCqedrsmV+poyyVVQRtVKjQVkjUeo210mkfS lXucdMGKu4tsOaExZMXnndFMFMnT6K/naAHyX/Ff5s7aIolIvU9G4RJs+4V69ZEMW7SQlN G2g8zjyBxaKWD1ogGE9E/nhsf+UZmoruTGLr/NoP3w2QRHyUL4+h5WeIXJVFvOQibqqOTM b4xVTjzQtrQbSMxx/Fn8/5sN1DofuHx2/56TLjQdzLFFbz1bmYJemF8WsCTnykEL9Bt8+B PPgp6v6WGGN/j4SHv/P4aRlj8MJbNDRenq3QhyO7/vTul100OkW+SbmYB1FihA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=TrYQ6Eph; 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: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=TrYQ6Eph; dmarc=pass (policy=none) header.from=gnu.org; 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: 3F8464FF1 X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: rznIQXhp3rLc Hi Timotej, Timotej Lazar skribis: > QEMU guest agent hardcodes paths to /sbin/hwclock and /sbin/shutdown. Pat= ch > the source to try binaries under /run/current-system/profile/sbin first. > > * gnu/packages/patches/qemu-fix-agent-paths.patch: New file. > * gnu/local.mk (dist_patch_DATA): Register the patch. > * gnu/packages/virtualization.scm (qemu)[origin]: Apply it. > --- > This allows a QEMU host to set the time and shutdown Guix guests. Styled > after the patch from the Nix package: > > https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/virtualiza= tion/qemu/fix-qemu-ga.patch Neat! I added this bit as a comment at the top of the patch and committed. Thanks! Ludo=E2=80=99.