From: Karl Hallsby via Guix-patches via <guix-patches@gnu.org>
To: 75445@debbugs.gnu.org
Cc: Karl Hallsby <karl@hallsby.com>,
Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#75445] [PATCH 6/7] gnu: Add xen-guest-agent.
Date: Wed, 8 Jan 2025 14:19:00 -0600 [thread overview]
Message-ID: <8b169fc0c6328d6898d18b5bebba9e90e4e7ade8.1736366802.git.karl@hallsby.com> (raw)
In-Reply-To: <cover.1736366801.git.karl@hallsby.com>
* 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
next prev parent reply other threads:[~2025-01-08 20:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-08 20:12 [bug#75445] [PATCH 0/7] Add xen-guest-agent and daemon Karl Hallsby via Guix-patches via
2025-01-08 20:18 ` [bug#75445] [PATCH 1/7] gnu: Add rust-uname-0.1 Karl Hallsby via Guix-patches via
2025-01-08 20:18 ` [bug#75445] [PATCH 2/7] gnu: Add rust-xenstore-sys-0.3 Karl Hallsby via Guix-patches via
2025-01-08 20:18 ` [bug#75445] [PATCH 3/7] gnu: Add rust-xenstore-sys-0.2 Karl Hallsby via Guix-patches via
2025-01-08 20:18 ` [bug#75445] [PATCH 4/7] gnu: Add rust-xenstore-rs-0.7 Karl Hallsby via Guix-patches via
2025-01-08 20:18 ` [bug#75445] [PATCH 5/7] gnu: Add rust-xenstore-rs-0.6 Karl Hallsby via Guix-patches via
2025-01-08 20:19 ` Karl Hallsby via Guix-patches via [this message]
2025-01-08 20:19 ` [bug#75445] [PATCH 7/7] services: Add xen-guest-agent-service-type Karl Hallsby via Guix-patches via
2025-01-09 15:10 ` [bug#75445] [PATCH 0/7] Add xen-guest-agent and daemon Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8b169fc0c6328d6898d18b5bebba9e90e4e7ade8.1736366802.git.karl@hallsby.com \
--to=guix-patches@gnu.org \
--cc=75445@debbugs.gnu.org \
--cc=karl@hallsby.com \
--cc=sharlatanus@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.