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 58159191F72 for ; Mon, 28 Jul 2025 01:14:37 +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=1753665281; cv=none; b=YyQBNWUNyYYqm5E0rWOLngAs5D3QEJyzkTsaONoaCBIr8pyQSwz2EWg3igd/FAzrK3BRrggK42KcxI8NGOxGvLjjW7NgyP3WVLf3c0HE3g/rZi7Utrhw5X89OsBt/zcAkP0IEB2toaSO9KyvGa1/Q0NtRUZXNiVEQBgajW1p6kU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753665281; c=relaxed/simple; bh=cc+jobu2Q9EfZ5I6pqLF7fX6+3iVE4re9TvphY0d4DE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gdS0rlG5aJGqdQCVYQPkHC1kElowNlOQ/GMphy9JZrZQp3IwHitIe0SBkd1ZHqxbeK82Y6ktgoTqFgCZA5J2xo//5ix7SpZQt5vEX/c10OsMxBgBKO6Ul7Jm+vusvlKbeV/qTEpee2WLwpl5Zv6nokR0hNZmVb015MTaDYgtRXw= 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=w96nB05b; 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="w96nB05b" 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=V5V80Yy8xHS14FlbF967sTRktdIPFxznElj4gvVlgIA=; b=w96nB05bwH7bx0VmbbT3+xkRig r8AOVWbNWOYZV8J39Sy0IeOImCeDRYm8QgLU69s+caYYIR6XNxdDYjc20Id5oRF9ky7Gu4tw1viru pKGoU6vjs2BnrOMABp6XWb0YqJuK/8zOlcKPt7aK5rne8Nq0yk7UfRDl6KfDg3rta7WZGuCPB2Ub9 YBIsEKU8mPGduZtRqlFq2SzH1zqE7T7MYSovdTEsf+lGT6yJMGmoubd8fAkM3XaQ9MsyNpgjeS7sO q0JiNTJgS6HL6xe3gFw4+u3GXFyqW8eBcTwheR2HLnT8aUIYqmjgrU+BUIyyzWEZP3R1WKvhEIRbj BjWnt0XQ==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1ugCRo-0000000DPju-0AiR; Mon, 28 Jul 2025 01:14:36 +0000 From: Luis Chamberlain To: Chuck Lever , Daniel Gomez , kdevops@lists.linux.dev Cc: Luis Chamberlain Subject: [PATCH v2 15/33] bootlinux: fix making 9p default if using libvirt Date: Sun, 27 Jul 2025 18:14:15 -0700 Message-ID: <20250728011434.3197091-16-mcgrof@kernel.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250728011434.3197091-1-mcgrof@kernel.org> References: <20250728011434.3197091-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 Commit a5092b07fe ("Kconfig: Convert the 9p option to a choice menu") enhanced the semantics to use a choice instead of just bools to determine how we are going to build the kernel. But it ended up making the target option to build the kernel and clone it the default even if you are using libvirt. Fix this so that we only select the target if we're not using libvirt. This upkeeps previous behaviour and expectations. Fixes: a5092b07fe ("Kconfig: Convert the 9p option to a choice menu") Signed-off-by: Luis Chamberlain --- workflows/linux/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/workflows/linux/Kconfig b/workflows/linux/Kconfig index e198005c..27cba0a9 100644 --- a/workflows/linux/Kconfig +++ b/workflows/linux/Kconfig @@ -36,7 +36,8 @@ endif # HAVE_SUPPORTS_PURE_IOMAP choice prompt "Kernel build location" - default BOOTLINUX_TARGETS + default BOOTLINUX_TARGETS if !LIBVIRT || GUESTFS_LACKS_9P + default BOOTLINUX_9P if LIBVIRT && !GUESTFS_LACKS_9P help Choose where you want to compile the test kernel. The help for the choices below explain how each alternative works. -- 2.47.2