unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#66156] [PATCH 00/12] Introducing Smart Hurdloading
@ 2023-09-22 12:52 Ludovic Courtès
  2023-09-22 12:54 ` [bug#66156] [PATCH 01/12] system: vm: Remove unused variable Ludovic Courtès
                   ` (12 more replies)
  0 siblings, 13 replies; 19+ messages in thread
From: Ludovic Courtès @ 2023-09-22 12:52 UTC (permalink / raw)
  To: 66156; +Cc: Ludovic Courtès, Josselin Poiret, Janneke Nieuwenhuizen

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





^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2023-10-01 21:07 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-22 12:52 [bug#66156] [PATCH 00/12] Introducing Smart Hurdloading Ludovic Courtès
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

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).