GNU bug report logs - #75445
[PATCH 0/7] Add xen-guest-agent and daemon

Previous Next

Package: guix-patches;

Reported by: Karl Hallsby <karl <at> hallsby.com>

Date: Wed, 8 Jan 2025 20:16:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #40 received at 75445 <at> debbugs.gnu.org (full text, mbox):

From: Raven Hallsby <karl <at> hallsby.com>
To: 75445 <at> debbugs.gnu.org
Subject: Re: bug#75445: closed (Re: [bug#75445] [PATCH 7/7] services: Add
 xen-guest-agent-service-type.)
Date: Sat, 22 Feb 2025 21:29:04 -0600
> Applied, thanks!

Excellent! Thanks!

> As mentioned before, it would be great if you could see what it would
> take to write a system test (and thus, a way to boot Xen) so that these
> services don’t bitrot.

I agree. Looking at the system-level marionette virtual machine
infrastructure, it looks like the only supported hypervisor is QEMU &
Linux's KVM. Xen fundamentally behaves differently than QEMU & KVM, so
getting system tests working might be difficult.

I have been toying with the idea that the marionette VM could create a
fake Xen device entry in /dev/xen... socket(?) that we can pull the
known sent data out of. This would workaround the Linux VM expecting Xen
running underneath it. Does this seem like a reasonable work-around?

Or should we investigate abstracting the virtualization backend to
support running a Guix VM on both QEMU/KVM and Xen? This would give us
another way to verify reproducibility by running system tests inside a
different hypervisor.

help-debbugs <at> gnu.org (GNU bug Tracking System) writes:

> Your bug report
>
> #75445: [PATCH 0/7] Add xen-guest-agent and daemon
>
> which was filed against the guix-patches package, has been closed.
>
> The explanation is attached below, along with your original report.
> If you require more details, please reply to 75445 <at> debbugs.gnu.org.
>
> --
> 75445: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75445
> GNU Bug Tracking System
> Contact help-debbugs <at> gnu.org with problems
>
> From: Ludovic Courtès <ludo <at> gnu.org>
> Subject: Re: [bug#75445] [PATCH 7/7] services: Add
>  xen-guest-agent-service-type.
> To: Karl Hallsby <karl <at> hallsby.com>
> Cc: 75445-done <at> debbugs.gnu.org, Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
> Date: Fri, 21 Feb 2025 14:31:47 +0100 (1 day, 13 hours, 51 minutes ago)
>
> Karl Hallsby <karl <at> hallsby.com> skribis:
>
>> * gnu/services/virtualization.scm (xen-guest-agent-configuration,
>>   xen-guest-agent-service-type): New variables.
>> * doc/guix.texi: Document them.
>>
>> Change-Id: Id1b1f4fc2b193d73f4401e74a214222dfe1b6ea7
>

>
>
> Thanks,
> Ludo’.
>
> ----------
>
> From: Karl Hallsby <karl <at> hallsby.com>
> Subject: [PATCH 0/7] Add xen-guest-agent and daemon
> To: guix-patches <at> gnu.org
> Cc: Karl Hallsby <karl <at> hallsby.com>
> Date: Wed,  8 Jan 2025 14:12:48 -0600
> Date: Wed,  8 Jan 2025 14:12:48 -0600 (6 weeks, 3 days, 7 hours ago)
>
> This train adds the necessary Rust packages requried to build the
> xen-guest-agent package, builds it, and defines a service-type for
> running it as a daemon.
>
> The guest agent allows the virtualizing host (Xen) to receive
> information about the running OS guest and the host to send graceful
> versions of commands to the guest.
>
> The service-type is mutually exclusive with the xe-guest-utilities
> service-type and daemon introduced in issue #72249.
>
> Karl Hallsby (7):
>   gnu: Add rust-uname-0.1.
>   gnu: Add rust-xenstore-sys-0.3
>   gnu: Add rust-xenstore-sys-0.2
>   gnu: Add rust-xenstore-rs-0.7
>   gnu: Add rust-xenstore-rs-0.6
>   gnu: Add xen-guest-agent.
>   services: Add xen-guest-agent-service-type.
>
>  doc/guix.texi                   |  24 +++++++
>  gnu/packages/crates-io.scm      | 112 ++++++++++++++++++++++++++++++++
>  gnu/packages/virtualization.scm |  51 +++++++++++++++
>  gnu/services/virtualization.scm |  34 +++++++++-
>  4 files changed, 220 insertions(+), 1 deletion(-)
>
>
> base-commit: 4eaeff997907bc1b67884a6dc087756a50f175e2
> prerequisite-patch-id: daabcb5995f03ed867a27648e973e1c2203f2bc9
> prerequisite-patch-id: 10ca9a0912c5ab863ed39f14959581e75962ada9

--
Raven Hallsby




This bug report was last modified 87 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.