From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 52F8D161 for ; Thu, 7 Mar 2024 00:14:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709770468; cv=none; b=j5AtpVOyhlRB34DvHg04j7eyGUJrlpgLZCFM/j/9ID1duDm1wVf783YRpucS9CWpbDEqLuf4kwnCvUX+0390OCJXzgS06/zIViNU2nlKI0GMGyJBZLVUE4hsotjRR4qdp4d2KHgdjTPdV4FgQj3v51tHina801lzJrXaXX7sp14= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709770468; c=relaxed/simple; bh=xYuHklEvBTmGk1Xm+JJBUmMXFtSSVPWCbEEse6p04n4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sGXERuXILC8UuOwOvy82YqEjNxdrDZ5es6USCivG3J8gvMmKrCcsvCwJJiEDv4DwAsuxYxB6jwFm7r4HXEXy7tZVp2Luavknl0aXeKKlpvRIdxtY1aQk9s6elwnmN7R/YyyJcte526B2fs4weoCjo2PANRR9g0gHKdf7LFefEWE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=a1Ckf8Ky; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="a1Ckf8Ky" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=qWzMv24JKrAx4HP/OlLOHxZrma6ANW8fxcIKO72tTDY=; b=a1Ckf8Ky2oiYkv1szUCYSinft9 rz4MT9DTansoAsv5ByNd1V7i31Xm3XfUViSm+4qxh13wE2HkiBTWvewV4GFRbdsDYhkTpim0oNEcW rI4/rEF+loEqqhKY2NQBOcNIUW3TvJ/FpmuCIu4mNBqfo4he3rnaj0YjetQWO97xcLSxRrBPvcpO1 JRZ6xOhqGLkig4Q3cYG3gm52tzHmk4xoptzJvdnGt7G/edLsCg/dYw+Q9QPwcy9qY2HCcZHkXN0pH Mi0B/RVnaUpCv095qj5xXRxXN6ECmgfPfz8g/wML7Ev6wU62QQ7DU8kJb1TdzGRA7Ttyjbzl+fMjC F2hTwhQA==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1ri1P0-00000002N5N-44Ya; Thu, 07 Mar 2024 00:14:26 +0000 From: Luis Chamberlain To: kdevops@lists.linux.dev Cc: Luis Chamberlain Subject: [PATCH 0/5] guestfs: start moving guest data to macros Date: Wed, 6 Mar 2024 16:14:21 -0800 Message-ID: <20240307001426.565390-1-mcgrof@kernel.org> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Luis Chamberlain This implements initial macro support usage for using guestfs for dynamic libvirt XML data for the guests, it starts with moving the existing extra drive support to its own file as macros, and later builds on this to demonstrate more complex functionality like support for large IO experimentation. Luis Chamberlain (5): bringup_guestfs.sh: use bash as the default shell guestfs_q35: use hex for pci addr guestfs_q35: use libvirt_extra_storage_nvme_logical_block_size gen_nodes: move drive generation for guestfs to macros guestfs: add large IO support playbooks/roles/gen_nodes/defaults/main.yml | 2 + playbooks/roles/gen_nodes/templates/drives.j2 | 148 ++++++++++++++++++ .../gen_nodes/templates/guestfs_q35.j2.xml | 83 ++++++---- scripts/bringup_guestfs.sh | 42 +++-- 4 files changed, 233 insertions(+), 42 deletions(-) create mode 100644 playbooks/roles/gen_nodes/templates/drives.j2 -- 2.43.0