From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F1CEC3451DA for ; Wed, 22 Apr 2026 22:16:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776896211; cv=none; b=jyB9TLjDnyU+S8zc+XniczW6YW8uOaImIVZMIM+uclVnMhu/CfJC06sWatHz7hoTjoU7Dm6CnuctUjS28D+d2j9xfJ6Pc4tY/WRc+Kxfpds5f05HgZBQx++0RuSmFDepjQLLfMlqJ+o9fvIINJYcpyx63m9VYxAzODu7QQFEg/E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776896211; c=relaxed/simple; bh=XI6UkL71IJ/H8hSaJC2yYHY4fMfjROgt2XCOsiyIY0E=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=daKzeQIbnFzVlffhOZN/EWldvInp1a8FoUb8sHLJjKkHjGDozkAEym9d09toa6Omda7OttToCdE+BuIajwxuJzLj2dUkJRt/Q3OZnlfRPvsMO6QpCVdzi0+FpED1Sj4y1D71rPYfyvbsdxB3hAhYjGy2n/LqhHVXscUbYrPDEIw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KmlJYedR; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KmlJYedR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9CD3C2BCB4; Wed, 22 Apr 2026 22:16:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776896210; bh=XI6UkL71IJ/H8hSaJC2yYHY4fMfjROgt2XCOsiyIY0E=; h=From:Subject:Date:To:Cc:From; b=KmlJYedRpHwxEg6EdXhkWBYUWgJ9ZOgL+7NuySu5xU/pKF1GWZRLSf6ncn2B4qy4m 5fzuX4AwcZ4KJ4Ut34KW7YnRyYOlkzM+y6mFvMbCpf4zekaLlnefU+F3FnGX37uMYM gS18JxzF55ctcXKYVInhadintL01+E68w/5uF9asM0EGwxxKNguyCqILPpc/prU0h8 prRrjizwlfYwl9xlYC/NgZ53UtKGmS2k7UGRxbkWCWBcYd6+q0A7BdRbiTXPXLr0Vq +SKra+HTrDIxL0YwAeXWBhS9jaxZ0EwbewsxHLxsL+Swz4cQjDWG7njrFqnkLs1LG4 Cg4vpKUTuwoZQ== From: Daniel Gomez Subject: [PATCH 0/8] kdevops: small NIXOS and gen_hosts fixes Date: Thu, 23 Apr 2026 00:16:41 +0200 Message-Id: <20260423-kdevops-series-a-fixes-v1-0-69a82d0e1631@samsung.com> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAAAAAAC/yXLQQqAMAxE0atI1gZqkBa8irjQNmoQWmlBBOndD boaPsN7oHAWLjA0D2S+pEiKGl3bgN/nuDFK0AYyZE1PhEfgK50Ff4czrnLrMtkluOCcdxYUn5m /Q+041foCAqomGGgAAAA= X-Change-ID: 20260422-kdevops-series-a-fixes-e26bd7d77c76 To: Luis Chamberlain , Chuck Lever Cc: kdevops@lists.linux.dev, Daniel Gomez , Daniel Gomez X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1776896208; l=4413; i=da.gomez@samsung.com; s=20240621; h=from:subject:message-id; bh=XI6UkL71IJ/H8hSaJC2yYHY4fMfjROgt2XCOsiyIY0E=; b=B4uQPJ73aPiunMVt6tLNde71rQF162sKeEA/etIP23qq6qIxNOVBtm0FSWyZakMxmYVIYv1hW EIcZt0Blu4YDKs+i66pMRGxWDJKG9mcGmCJxP7iJsundq7yuvdGqd49 X-Developer-Key: i=da.gomez@samsung.com; a=ed25519; pk=BqYk31UHkmv0WZShES6pIZcdmPPGay5LbzifAdZ2Ia4= 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 --- 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