From d1368344bc9bb251080507940f2bad16048d2687 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Wed, 19 Mar 2025 19:31:10 +0000 Subject: rust: Kconfig: Factor out whether HPET is Rust or C Currently we require everywhere that wants to know if there is an HPET device to check for "CONFIG_HPET || CONFIG_X_HPET_RUST". Factor out whether the HPET device is Rust or C into a separate Kconfig stanza, so that CONFIG_HPET means "there is an HPET", and whether this has pulled in CONFIG_X_HPET_RUST or CONFIG_HPET_C is something the rest of QEMU can ignore. Signed-off-by: Peter Maydell Link: https://lore.kernel.org/r/20250319193110.1565578-3-peter.maydell@linaro.org Signed-off-by: Paolo Bonzini --- rust/hw/timer/Kconfig | 1 - 1 file changed, 1 deletion(-) (limited to 'rust/hw') diff --git a/rust/hw/timer/Kconfig b/rust/hw/timer/Kconfig index 42e4213..afd9803 100644 --- a/rust/hw/timer/Kconfig +++ b/rust/hw/timer/Kconfig @@ -1,3 +1,2 @@ config X_HPET_RUST bool - default y if PC && HAVE_RUST -- cgit v1.1