From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wAJlCizefmfbgwAA62LTzQ:P1 (envelope-from ) for ; Wed, 08 Jan 2025 20:21:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wAJlCizefmfbgwAA62LTzQ (envelope-from ) for ; Wed, 08 Jan 2025 21:21:00 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=LEpT3003; dkim=fail ("headers rsa verify failed") header.d=hallsby.com header.s=google header.b=eBrTYNHa; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736367659; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: 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=s/SvABOMI2DrUkgHnh8tqaEt1hqLYIjLADCiVCvW2cE=; b=O0yMgXd4MwbFBztN9+Gp0YnBsWIE8W81LcrzFoxvhkT+/c8oPdyfu/5Y4uDasAh6rW8oOe 9G1QjsPjEvFnfvIA+VI4nKUKZBiPJTwg5YdL/5g4Q5Gk6jBXpOAkYSEMPvWcCJK0dXJWiG Kk7lnFH1/C7aeB9lstpFuUCc4mp8c/YFKMYU+XlRYbfvxcBFs89QdCmik7WPVPA2Ff20yX oJhUqst/Mu49wM3uPbKmSLa7XY6rVgzD5BSdzrI0pzB0zBQ7KhpOx0YjWk4JeW+RvGBaCL ZsA1WRhACz916CqR9kd15d9l2DIF1JaRTC0VV3DUPDNrYffZ45Kara5vusM4Rg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=LEpT3003; dkim=fail ("headers rsa verify failed") header.d=hallsby.com header.s=google header.b=eBrTYNHa; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736367659; a=rsa-sha256; cv=none; b=rd2xdonKOTcbsGvQnrkH+HNkxG4ZNcW0uILynlDdyXZ2exPHKkWbaoxmmPQAFtJ0J1+4FJ NJA1zLB9jgkY6IIUddDbZCPgka5bqn92DM8PNyXe6K9GFA5m0C1TP3ygKl3PHKwrXddQXJ n7OFjqMilwSDz5dDTjsmAoXGuZ3KOSADlzWEJGJEKJrM6REeDR/S3g0zFTocOiBnB22TJE l/v97K/OrpBb3dNACeEPFu07Rwd6Jr0P97vrid+xcRSSrZBFUc/EMhoP2LZ5hsJ0XL6Y6j DULAjcbEnbjdG17jXsQk9OoqQM0zW9P1OOB4ucOQuJbRm61fFHE7tnzGVJbQKA== 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 C7116962E4 for ; Wed, 08 Jan 2025 21:20:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVcXF-0005yA-MT; Wed, 08 Jan 2025 15:20:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVcX7-0005uf-Tr for guix-patches@gnu.org; Wed, 08 Jan 2025 15:20:06 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tVcX7-0006C4-Ht for guix-patches@gnu.org; Wed, 08 Jan 2025 15:20:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=s/SvABOMI2DrUkgHnh8tqaEt1hqLYIjLADCiVCvW2cE=; b=LEpT3003ymaizvFoBOQynpmGECRDOkb5uf5LdQgOZemgwPmxM2H63wi/59LH6u+SQcfOrcPBn2uArLJghD5FrZjBS9OQXThJVgSXWxXo6MEcn724o9IdCsnSFyB+NUftucxxVmryPWN300NaLuJ2bk8fMg1ieOgWb2q13Nm7dmzUKsMGzX2jnCanPh60gvLBY0vSM4n/evJKmH4tjchABQKVmE4JhAT/i+0Whlih2kQ63W6cwQYkx/ogZImSbPPC7DoueQ5iNsgfZWbq9v5lRy61yax+ClJ5jK2Uip3pM9YLmdyxAYD3oi7gxQd7usdUunFoW8oaXOI39qf9oQhFMQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVcX7-0001IQ-CJ; Wed, 08 Jan 2025 15:20:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75445] [PATCH 6/7] gnu: Add xen-guest-agent. Resent-From: Karl Hallsby Original-Sender: "Debbugs-submit" Resent-CC: sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 08 Jan 2025 20:20:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75445 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75445@debbugs.gnu.org Cc: Karl Hallsby , Sharlatan Hellseher X-Debbugs-Original-Xcc: Sharlatan Hellseher Received: via spool by 75445-submit@debbugs.gnu.org id=B75445.17363675734874 (code B ref 75445); Wed, 08 Jan 2025 20:20:05 +0000 Received: (at 75445) by debbugs.gnu.org; 8 Jan 2025 20:19:33 +0000 Received: from localhost ([127.0.0.1]:49132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVcWa-0001GS-AW for submit@debbugs.gnu.org; Wed, 08 Jan 2025 15:19:32 -0500 Received: from mail-il1-x12e.google.com ([2607:f8b0:4864:20::12e]:46551) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tVcWX-0001FQ-Ia for 75445@debbugs.gnu.org; Wed, 08 Jan 2025 15:19:30 -0500 Received: by mail-il1-x12e.google.com with SMTP id e9e14a558f8ab-3a9cdcec53fso977895ab.1 for <75445@debbugs.gnu.org>; Wed, 08 Jan 2025 12:19:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hallsby.com; s=google; t=1736367563; x=1736972363; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=s/SvABOMI2DrUkgHnh8tqaEt1hqLYIjLADCiVCvW2cE=; b=eBrTYNHaiLgHbTiyUespMJXqBJ8NqTwqBb/KAbWjrIYMspWDsPvUY3Smcr5yHtz5lN z+vgcaWtMmYqTP1FwzphMomJf8o38OfrS1WYI7EmXidy2zViIOx3RLSP2mdx6LB4+V1A 15xmKQJGoi7UB49iGB6UunZIDqAHtWdkeuvS2DKcHY7uA4/D60POTjmnsdAtxOdO3vy8 gTK9ErB9pT1yzjcKMBLEqqWIx8cnRzCSY0oSDt/vF7AFJR3LkkJkCYnUgwTlU8p+O4Je OhenPCFQB7jV1tBwUOEG42XiuXu0cd3V4wKLWIp3YjZGK0yGIoke89so0yalxKSGaMfk 9IUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736367563; x=1736972363; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=s/SvABOMI2DrUkgHnh8tqaEt1hqLYIjLADCiVCvW2cE=; b=up1CB+ebtYfE85hjsSo8cXI9QUKqXQTS/+SWGksbUYphSO6aglypFAW37Y+loiThyC iOTB28ydEMg4SEffdHN76TBKssn709uj7cAUyeg/5NwOd08H3VOCaJoYEmQSNfVeYBMU c6PzL0JbMiipFzabTiS2iS0NjGBzCM/oNzwuy0ue40tvfGFPr9T0M4yNbZl3BwrYSe2m 67w8sGtKJkfOH/AKpcOcg+n9S1e3415SV2fjbcUW1LxrWD1Pnb/Ek6PC2vcMpbrO18/v H7miWnk8gbdqOX2DLezIBMFBOpn3eEGD4nJ231nz2Crykz0CrGr0Hv2ET3iIkYMV25s4 At+Q== X-Gm-Message-State: AOJu0Yz2Z2PpMiQEvET8woSxaUJZnswNhw9ZdC54wCRfAkqVODHc8TZE XtnMq3E16fpomdg6MMYFKBmjDLgzSdYRXENRHRaNq3whEL9a69CilQJ6Tq50orKNHpZRHBscbSM = X-Gm-Gg: ASbGncvPHgW24WAyO+TmFqyrPb+rpyh5AehhsAn7d48zLHMyXKCt0AidhVq0C+DY1x7 5VpfZw9erhLqfYdc5laYb7aX5NWIUnYg08ZCSQNYtpJ7lqvEdJ/f8dQA42FVY+WB/wtWhyXIAZu BnvE+FFI0dCuNqte7XllBfDltePRJGsxYMmXytRiXtuM6RvHcZAKZDh/Kh1ve+Cirbx/f2Wn138 f+VauxH3qAU7dQ9l0aqOgARSyUWK0cmID5fdGPxON3TQnX2xK8RTwxySmBSJg== X-Google-Smtp-Source: AGHT+IFfilk4V3EdtkFwUD20RVR1dOwSm0mWwHeASv25OGV77hXxCb2nyHXhSo0IlNmE4+bskmjC3A== X-Received: by 2002:a05:6e02:1807:b0:3a7:a3a4:2cb3 with SMTP id e9e14a558f8ab-3ce3a8bb189mr35638955ab.15.1736367563370; Wed, 08 Jan 2025 12:19:23 -0800 (PST) Received: from Karl-Desktop.raven ([207.237.222.72]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4e68bf5073dsm10838222173.29.2025.01.08.12.19.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2025 12:19:22 -0800 (PST) Date: Wed, 8 Jan 2025 14:19:00 -0600 Message-ID: <8b169fc0c6328d6898d18b5bebba9e90e4e7ade8.1736366802.git.karl@hallsby.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Reply-to: Karl Hallsby X-ACL-Warn: , Karl Hallsby via Guix-patches From: Karl Hallsby via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.78 X-Spam-Score: -5.78 X-Migadu-Queue-Id: C7116962E4 X-Migadu-Scanner: mx10.migadu.com X-TUID: Iu/i2M5oc21J * gnu/packages/virtualization.scm (xen-guest-agent): New variable. This is intended to replace xe-guest-utilities in the long run. Right now it is a drop-in replacement. Change-Id: I6277edc2298c6154d722f7f206e7955222228710 --- gnu/packages/virtualization.scm | 51 +++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 3b162474af..95e36b7d1b 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -79,6 +79,7 @@ (define-module (gnu packages virtualization) #:use-module (gnu packages compression) #:use-module (gnu packages containers) #:use-module (gnu packages cpio) + #:use-module (gnu packages crates-io) #:use-module (gnu packages cross-base) #:use-module (gnu packages crypto) #:use-module (gnu packages cryptsetup) @@ -119,6 +120,7 @@ (define-module (gnu packages virtualization) #:use-module (gnu packages libbsd) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) + #:use-module (gnu packages llvm) #:use-module (gnu packages lua) #:use-module (gnu packages m4) #:use-module (gnu packages man) @@ -160,6 +162,7 @@ (define-module (gnu packages virtualization) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system go) @@ -2860,6 +2863,54 @@ (define-public xe-guest-utilities about events that change the virtualized hardware, such as hotplugging.") (license license:bsd-2))) +(define-public xen-guest-agent + (package + (name "xen-guest-agent") + (version "0.4.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/xen-project/xen-guest-agent") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ab6mgrvnd49m0ay9fbfyd02xaf3qvkwhyyavra4a7wpz0brg54h")))) + (build-system cargo-build-system) + (arguments + `(#:install-source? #f + #:cargo-inputs (("rust-futures" ,rust-futures-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7) + ("rust-netlink-packet-route" ,rust-netlink-packet-route-0.18) + ("rust-netlink-proto" ,rust-netlink-proto-0.11) + ("rust-rtnetlink" ,rust-rtnetlink-0.14) + ("rust-async-stream" ,rust-async-stream-0.3) + ("rust-os-info" ,rust-os-info-3) + ("rust-pnet-datalink" ,rust-pnet-datalink-0.34) + ("rust-pnet-base" ,rust-pnet-base-0.34) + ("rust-ipnetwork" ,rust-ipnetwork-0.17) + ("rust-log" ,rust-log-0.4) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-clap" ,rust-clap-4) + ("rust-xenstore-rs" ,rust-xenstore-rs-0.6) + ;; Unix-specific dependencies + ("rust-uname" ,rust-uname-0.1) + ("rust-syslog" ,rust-syslog-6) + ("rust-sysctl" ,rust-sysctl-0.5)))) + (native-inputs + (list pkg-config + xen ; Pull in Xen for libxenstore + clang)) + (home-page "https://gitlab.com/xen-project/xen-guest-agent") + (synopsis "Provides guest VM information to hosting Xen hypervisor") + (description "The agent gathers some guest information, and writes them to +xenstore so tooling in dom0 can read it. The default behavior is to be +compatible with the XAPI toolstack as currently used in XCP-ng and Citrix +Hypervisor/Xenserver, and thus roughly follow what @code{xe-guest-utilities} +is doing.") + (license license:agpl3))) + (define-public osinfo-db-tools (package (name "osinfo-db-tools") -- 2.46.0