From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 30 13:22:32 2021 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Timotej Lazar Subject: Re: bug#51347: [PATCH] gnu: qemu: Add Guix support to QEMU guest agent. 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51347-done Cc: 51347-done@debbugs.gnu.org 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: -3.3 (---) 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.