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 71A2A79CF for ; Mon, 28 Jul 2025 00:18:02 +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=1753661884; cv=none; b=P6tk0bJ7qX9HoZJlkXY7UDWEuu4GCFiEZAHGuzFlAlByK+RSsGUkTvFhJBuI3YgsHyPJNAbpqKcwne1O2OT2nwVe0M2Uzx0CKoWu//kX0Q/pY7Z3+SJYeUPzv0PnaC0hNFSiFHkHepauRFNTWYdAXEQYNpHqZaIGGOJ3TRhZzeU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753661884; c=relaxed/simple; bh=ZM6wNadNVSA8uE9yMjSHhxOdBYT1+xUJ4r6e0ylDHqM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZPCgsUvpdvRsNQBBO4taI56MD4fAyQEwLd0kx4+EBUWEkuDZeblJcZ8vkvSj/Bpqrt6ZeVGEO/BozVHBGtW/qpAJfrI0wMo21rtdgFGTWv489l+eau30A2G0vEqhP1EbOh8R2VGN7+qd9zdlz77kl2DQw1K9CM2jYhRSGrVgz9s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine 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=ZKA9Gj/E; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine 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="ZKA9Gj/E" 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:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description; bh=MVyyndkI7vP/GRlYNkUGwVBbobiYjL1XvskPpBiioRY=; b=ZKA9Gj/Et0Dl4LZCjsV3n9SloP Ls2m+2iyaIJ61MKlPJlJ+cu9qhV44ebW/lcyUFzJZJVeiaMJ2T5su72H0M6PkLwUaNRGzXFLyCnOQ B2xf6bViolyYNWGHBE1V+Cpsc0PIS5WQIAOee8xv7aXI4Z+P0YA2yfU/jgtrQEp2pZSZulecv3WQT QmDU+2oJF/myAx7DMto4yA7R98KGfwgLKg78g7Loy8ckIXGJhISPX3VYVCOfrWJYsUISZvfhM9pQ8 lR2nYbIP4JdgiLNTv8NFX8MG7KHPPr4OY5reGqtyMam0sSxSZtFl9NkDI97s7fw3sB4ktGu6Gbey5 kT6BM//Q==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1ugBZ3-0000000DNVV-3bZJ; Mon, 28 Jul 2025 00:18:01 +0000 From: Luis Chamberlain To: Chuck Lever , Daniel Gomez , kdevops@lists.linux.dev Cc: Luis Chamberlain Subject: [PATCH 02/40] kconfigs: fix Kconfig references after vagrant removal Date: Sun, 27 Jul 2025 17:17:21 -0700 Message-ID: <20250728001800.3188617-3-mcgrof@kernel.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250728001800.3188617-1-mcgrof@kernel.org> References: <20250728001800.3188617-1-mcgrof@kernel.org> 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 Remove Vagrant references from Kconfig files that were causing build failures after the vagrant directory was removed: - Remove vagrant/Kconfig source line from Kconfig.bringup - Remove VAGRANT_LIBVIRT_SELECT dependency from LIBVIRT config - Remove PCIe passthrough Vagrant references from Kconfig.libvirt - Remove VAGRANT-dependent machine type options - Update help text to remove Vagrant mentions Generated-by: Claude AI Suggested-by: Chuck Lever Signed-off-by: Luis Chamberlain --- kconfigs/Kconfig.bringup | 11 +++++------ kconfigs/Kconfig.libvirt | 20 -------------------- 2 files changed, 5 insertions(+), 26 deletions(-) diff --git a/kconfigs/Kconfig.bringup b/kconfigs/Kconfig.bringup index a9aefc56..887d3851 100644 --- a/kconfigs/Kconfig.bringup +++ b/kconfigs/Kconfig.bringup @@ -14,8 +14,8 @@ config GUESTFS select KDEVOPS_ENABLE_GUESTFS select EXTRA_STORAGE_SUPPORTS_LARGEIO help - This option will use libguestfs utilities instead of Vagrant to build - guest images and spin them up using libvirt with KVM. + This option will use libguestfs utilities to build guest images and + spin them up using libvirt with KVM. config TERRAFORM bool "Terraform for cloud environments" @@ -24,8 +24,8 @@ config TERRAFORM select EXTRA_STORAGE_SUPPORTS_2K select EXTRA_STORAGE_SUPPORTS_4K help - This option will enable use of Vagrant. Enable this if you want to - use terraform to create nodes on a cloud environment such as: + Enable this if you want to use terraform to create nodes on a cloud + environment such as: * Azure * AWS @@ -55,11 +55,10 @@ endchoice config LIBVIRT bool - depends on VAGRANT_LIBVIRT_SELECT || GUESTFS + depends on GUESTFS default y source "kconfigs/Kconfig.guestfs" -source "vagrant/Kconfig" source "terraform/Kconfig" if LIBVIRT source "kconfigs/Kconfig.libvirt" diff --git a/kconfigs/Kconfig.libvirt b/kconfigs/Kconfig.libvirt index 1b8f4b95..743a76c6 100644 --- a/kconfigs/Kconfig.libvirt +++ b/kconfigs/Kconfig.libvirt @@ -463,32 +463,12 @@ config HAVE_LIBVIRT_PCIE_PASSTHROUGH bool default $(shell, scripts/check_pciepassthrough_kconfig.sh passthrough_libvirt.generated) -if HAVE_LIBVIRT_PCIE_PASSTHROUGH -source "vagrant/Kconfig.pcie_passthrough_libvirt" -endif # HAVE_LIBVIRT_PCIE_PASSTHROUGH choice prompt "Machine type to use" default LIBVIRT_MACHINE_TYPE_Q35 if TARGET_ARCH_X86_64 default LIBVIRT_MACHINE_TYPE_VIRT if TARGET_ARCH_ARM64 -config LIBVIRT_MACHINE_TYPE_DEFAULT - bool "Use the default machine type" - depends on VAGRANT - help - Use whatever default the guest was intended to use. This will either - be the machine type used at virt-install time or some other default - by QEMU / libvirt. This is important for backward compatibility with - older kernels. For example if you enable q35 on an old kernel the old - kernel may not boot. For details refer to kdevops commit 83952e2e532e - ("vagrant/kdevops_nodes.yaml.in: remove machine_type)". - - It would seem today's default for libvirt is to still use "pc" which - is the old i440x, so you will not get PCIe support. - - We only want to support PCI-E capable guests with libguest so the - default is not allowed on libguest. - config LIBVIRT_MACHINE_TYPE_Q35 bool "q35" depends on TARGET_ARCH_X86_64 -- 2.47.2