]> git.ipfire.org Git - thirdparty/qemu.git/commit
rust: Kconfig: Factor out whether HPET is Rust or C
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 19 Mar 2025 19:31:10 +0000 (19:31 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 20 Mar 2025 08:23:24 +0000 (09:23 +0100)
commitd1368344bc9bb251080507940f2bad16048d2687
tree9d1a109a3604984e4a668dc921f897e295bb9b3d
parentf88c9cd804804360fa4b3586d7d2f84505ab8c26
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>
configs/devices/i386-softmmu/default.mak
hw/i386/fw_cfg.c
hw/i386/pc.c
hw/timer/Kconfig
hw/timer/meson.build
rust/hw/timer/Kconfig
tests/qtest/meson.build