public inbox for kdevops@lists.linux.dev
 help / color / mirror / Atom feed
From: Daniel Gomez <da.gomez@kernel.org>
To: Luis Chamberlain <mcgrof@kernel.org>,
	 Chuck Lever <chuck.lever@oracle.com>
Cc: kdevops@lists.linux.dev, Daniel Gomez <da.gomez@kernel.org>,
	 Daniel Gomez <da.gomez@samsung.com>
Subject: [PATCH 0/8] kdevops: small NIXOS and gen_hosts fixes
Date: Thu, 23 Apr 2026 00:16:41 +0200	[thread overview]
Message-ID: <20260423-kdevops-series-a-fixes-v1-0-69a82d0e1631@samsung.com> (raw)

Small cleanups picked up while building the new bringup backend that
depends on this series. Each patch is independent and stands on its
own: duplicated Makefile vars, ineffective silent recipe guards, libvirt
XML and cleanup path drift on the NIXOS role, and gen_hosts rough edges
around inventory group scoping and inventory owner refresh.

Preparatory series for the upstreaming of nixos-qemu [1] and
qemu-system-units [2] as git subtrees. The two projects provide an
alternative to kdevops libvirtd, libguestfs, and virsh stack for local
VM bringup, one that sidesteps the sudo and privilege escalation the
Ansible host-setup playbooks currently need on the control node to drive
that stack. libvirt bringup stays the default and is untouched; the
alternative is opt-in via Kconfig. qemu-system-units renders the QEMU
command line from templates into a systemd user service, so VMs run in
the user session with no root daemon and no new wrapper on top of QEMU.
nixos-qemu builds image-based and imageless guests declaratively through
a NixOS flake, with no libguestfs in the loop.

Link: https://github.com/linux-kdevops/nixos-qemu [1]
Link: https://github.com/linux-kdevops/qemu-system-units [2]
Signed-off-by: Daniel Gomez <da.gomez@samsung.com>
---
Daniel Gomez (8):
      nixos: remove duplicate nixos_channel extra-var from Makefile
      nixos: do not emit comment-only recipe lines under $(Q)
      nixos: drop hardcoded qxl video model from libvirt XML
      nixos: destroy the libvirt domain before cleaning up local artefacts
      gen_hosts: scope the python interpreter per inventory group
      gen_hosts: make the linux workflow node name follow bootlinux_builder
      defconfigs/nixos: name NIXOS hosts with the "nixos" prefix
      gen_hosts: drop sudo become on inventory owner refresh

 defconfigs/nixos                                   |  1 +
 kconfigs/Kconfig.ansible_provisioning              | 33 ++++++++++++++++
 playbooks/nixos.yml                                | 14 +++++++
 playbooks/roles/gen_hosts/tasks/main.yml           |  3 --
 playbooks/roles/gen_hosts/templates/blktests.j2    |  6 +--
 playbooks/roles/gen_hosts/templates/cxl.j2         |  6 +--
 playbooks/roles/gen_hosts/templates/fio-tests.j2   |  8 ++--
 playbooks/roles/gen_hosts/templates/fstests.j2     | 16 ++++----
 playbooks/roles/gen_hosts/templates/gitr.j2        | 10 ++---
 playbooks/roles/gen_hosts/templates/ltp.j2         |  6 +--
 playbooks/roles/gen_hosts/templates/mmtests.j2     |  8 ++--
 playbooks/roles/gen_hosts/templates/nfstest.j2     | 10 ++---
 playbooks/roles/gen_hosts/templates/pynfs.j2       | 10 ++---
 playbooks/roles/gen_hosts/templates/selftests.j2   |  6 +--
 playbooks/roles/gen_hosts/templates/sysbench.j2    |  6 +--
 .../roles/gen_hosts/templates/workflows/ai.j2      | 14 +++----
 .../gen_hosts/templates/workflows/blktests.j2      | 10 ++---
 .../gen_hosts/templates/workflows/build-linux.j2   | 30 +++++++--------
 .../templates/workflows/declared-hosts.j2          | 44 +++++++++++-----------
 .../gen_hosts/templates/workflows/fio-tests.j2     | 16 ++++----
 .../roles/gen_hosts/templates/workflows/fstests.j2 | 12 +++---
 .../roles/gen_hosts/templates/workflows/generic.j2 |  2 +-
 .../roles/gen_hosts/templates/workflows/gitr.j2    | 12 +++---
 .../roles/gen_hosts/templates/workflows/linux.j2   | 23 ++++++++---
 .../roles/gen_hosts/templates/workflows/ltp.j2     |  8 ++--
 .../roles/gen_hosts/templates/workflows/minio.j2   | 26 ++++++-------
 .../roles/gen_hosts/templates/workflows/mix.j2     | 10 ++---
 .../roles/gen_hosts/templates/workflows/mmtests.j2 |  8 ++--
 .../roles/gen_hosts/templates/workflows/nfstest.j2 | 12 +++---
 .../roles/gen_hosts/templates/workflows/pynfs.j2   | 10 ++---
 .../gen_hosts/templates/workflows/reboot-limit.j2  |  6 +--
 .../gen_hosts/templates/workflows/selftests.j2     |  8 ++--
 .../gen_hosts/templates/workflows/sysbench.j2      |  8 ++--
 .../roles/gen_hosts/templates/workflows/vllm.j2    | 14 +++----
 playbooks/templates/nixos/vm-libvirt.xml.j2        |  5 ---
 scripts/nixos.Makefile                             |  6 +--
 36 files changed, 239 insertions(+), 188 deletions(-)
---
base-commit: 1a61f43dc2bc2e019fc4a35d9673cfa31909272d
change-id: 20260422-kdevops-series-a-fixes-e26bd7d77c76

Best regards,
--  
Daniel Gomez <da.gomez@samsung.com>


             reply	other threads:[~2026-04-22 22:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-22 22:16 Daniel Gomez [this message]
2026-04-22 22:16 ` [PATCH 1/8] nixos: remove duplicate nixos_channel extra-var from Makefile Daniel Gomez
2026-04-22 22:16 ` [PATCH 2/8] nixos: do not emit comment-only recipe lines under $(Q) Daniel Gomez
2026-04-22 22:16 ` [PATCH 3/8] nixos: drop hardcoded qxl video model from libvirt XML Daniel Gomez
2026-04-22 22:16 ` [PATCH 4/8] nixos: destroy the libvirt domain before cleaning up local artefacts Daniel Gomez
2026-04-22 22:16 ` [PATCH 5/8] gen_hosts: scope the python interpreter per inventory group Daniel Gomez
2026-04-22 22:16 ` [PATCH 6/8] gen_hosts: make the linux workflow node name follow bootlinux_builder Daniel Gomez
2026-04-22 22:16 ` [PATCH 7/8] defconfigs/nixos: name NIXOS hosts with the "nixos" prefix Daniel Gomez
2026-04-22 22:16 ` [PATCH 8/8] gen_hosts: drop sudo become on inventory owner refresh Daniel Gomez
2026-04-23 13:50 ` [PATCH 0/8] kdevops: small NIXOS and gen_hosts fixes Chuck Lever
2026-04-23 19:20   ` Daniel Gomez

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=20260423-kdevops-series-a-fixes-v1-0-69a82d0e1631@samsung.com \
    --to=da.gomez@kernel.org \
    --cc=chuck.lever@oracle.com \
    --cc=da.gomez@samsung.com \
    --cc=kdevops@lists.linux.dev \
    --cc=mcgrof@kernel.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox