diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2025-03-19 19:31:10 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-03-20 09:23:24 +0100 |
commit | d1368344bc9bb251080507940f2bad16048d2687 (patch) | |
tree | 9d1a109a3604984e4a668dc921f897e295bb9b3d /rust/hw | |
parent | f88c9cd804804360fa4b3586d7d2f84505ab8c26 (diff) | |
download | qemu-d1368344bc9bb251080507940f2bad16048d2687.zip qemu-d1368344bc9bb251080507940f2bad16048d2687.tar.gz qemu-d1368344bc9bb251080507940f2bad16048d2687.tar.bz2 |
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 <peter.maydell@linaro.org>
Link: https://lore.kernel.org/r/20250319193110.1565578-3-peter.maydell@linaro.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/hw')
-rw-r--r-- | rust/hw/timer/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
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 |