From 9ee488670066b5fdeebf0015e9b4a40bdc3eccbf Mon Sep 17 00:00:00 2001 From: Zhao Liu Date: Mon, 17 Feb 2025 23:44:16 +0800 Subject: [PATCH] i386: Fix the missing Rust HPET configuration option The configuration option of Rust HPET is missing, so that PC machine can't boot with "hpet=on" when QEMU Rust support is enabled. Add the Rust HPET configuration option. Fixes: d128c341a744 ("i386: enable rust hpet for pc when rust is enabled") Signed-off-by: Zhao Liu Link: https://lore.kernel.org/r/20250217154416.3144571-1-zhao1.liu@intel.com Signed-off-by: Paolo Bonzini --- rust/hw/timer/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/hw/timer/Kconfig b/rust/hw/timer/Kconfig index afd9803350..42e421317a 100644 --- a/rust/hw/timer/Kconfig +++ b/rust/hw/timer/Kconfig @@ -1,2 +1,3 @@ config X_HPET_RUST bool + default y if PC && HAVE_RUST -- 2.39.5