From: "Ludovic Courtès" <ludo@gnu.org>
To: 66156@debbugs.gnu.org
Cc: "Ludovic Courtès" <ludo@gnu.org>,
"Josselin Poiret" <dev@jpoiret.xyz>,
"Janneke Nieuwenhuizen" <janneke@gnu.org>
Subject: [bug#66156] [PATCH 00/12] Introducing Smart Hurdloading
Date: Fri, 22 Sep 2023 14:52:27 +0200 [thread overview]
Message-ID: <cover.1695386493.git.ludo@gnu.org> (raw)
This patch series, my friends, sets up Smart Hurdloading™, sometimes
referred to as “Hurd auto-offloading”. (Yeah I worked hard on branding…)
Concretely, if you add (service hurd-vm-service-type), you can now run:
guix build libreoffice -s i586-gnu
on your machine, and the childhurd will take care of keeping one CPU core
busy for a while. There’s no configuration involved beyond this one
(service hurd-vm-service-type) line: no need to exchange SSH keys,
substitute keys, write /etc/guix/machines.scm, and all that. It’s all
taken care off automatically.
One key element here is support for declarative and extensible offloading
configuration—meaning that /etc/guix/machines.scm is now optionally generated
straight from your ‘operating-system’ config. The rest is about generating
keys, authorizing them, etc.
The series is a bit of a potpourri: I fixed Hurd issues here and there
(currently offloading to a childhurd doesn’t work on ‘master’, because
of the locale issue, for instance), improved documentation, etc. I also
took a couple of long detours not shown here that might lead to further
improvements in the future.
My goal is to extend this mechanism beyond the Hurd, to have a generic
mechanism to spin up Guix System VMs we can easily offload to.
Thoughts?
Ludo’.
Ludovic Courtès (12):
system: vm: Remove unused variable.
secret-service: Increase default handshake timeout.
services: hurd-vm: Use the default SSH port number.
gnu: glibc-utf8-locales: Reintroduce input labels.
services: guix: Use the right locale package on GNU/Hurd.
services: guix: Support declarative offloading setup.
services: childhurd: Authorize the childhurd’s key on the host.
services: hurd-vm: ‘image’ field has to be an <image> record.
tests: hurd-vm: Remove custom disk image configuration.
services: hurd-vm: Disable password-based authentication for root.
doc: Give an example showing how to add an account in the childhurd.
services: hurd-vm: Implement zero-configuration offloading.
doc/guix.texi | 167 ++++++++++++++++++++++++++------
gnu/build/secret-service.scm | 2 +-
gnu/packages/base.scm | 4 +-
gnu/services/base.scm | 58 ++++++++++-
gnu/services/virtualization.scm | 153 ++++++++++++++++++++++++++---
gnu/system/vm.scm | 41 ++------
gnu/tests/virtualization.scm | 68 ++++++++++---
7 files changed, 394 insertions(+), 99 deletions(-)
base-commit: 3d8d67ef6928f5d81118c97f03372cd341eab8b0
--
2.41.0
next reply other threads:[~2023-09-22 12:54 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-22 12:52 Ludovic Courtès [this message]
2023-09-22 12:54 ` [bug#66156] [PATCH 01/12] system: vm: Remove unused variable Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 02/12] secret-service: Increase default handshake timeout Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 03/12] services: hurd-vm: Use the default SSH port number Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 04/12] gnu: glibc-utf8-locales: Reintroduce input labels Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 05/12] services: guix: Use the right locale package on GNU/Hurd Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 06/12] services: guix: Support declarative offloading setup Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 07/12] services: childhurd: Authorize the childhurd’s key on the host Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 08/12] services: hurd-vm: ‘image’ field has to be an <image> record Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 09/12] tests: hurd-vm: Remove custom disk image configuration Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 10/12] services: hurd-vm: Disable password-based authentication for root Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 11/12] doc: Give an example showing how to add an account in the childhurd Ludovic Courtès
2023-09-22 12:54 ` [bug#66156] [PATCH 12/12] services: hurd-vm: Implement zero-configuration offloading Ludovic Courtès
2023-09-22 14:07 ` [bug#66156] [PATCH 00/12] Introducing Smart Hurdloading Janneke Nieuwenhuizen
2023-09-22 15:24 ` Ludovic Courtès
2023-09-23 13:44 ` Janneke Nieuwenhuizen
2023-09-27 17:35 ` Ludovic Courtès
2023-09-27 17:52 ` Janneke Nieuwenhuizen
2023-10-01 21:06 ` Ludovic Courtès
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1695386493.git.ludo@gnu.org \
--to=ludo@gnu.org \
--cc=66156@debbugs.gnu.org \
--cc=dev@jpoiret.xyz \
--cc=janneke@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).