aboutsummaryrefslogtreecommitdiff
path: root/rust/hw/timer
diff options
context:
space:
mode:
authorZhao Liu <zhao1.liu@intel.com>2025-02-17 23:44:16 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2025-02-25 10:49:23 +0100
commit9ee488670066b5fdeebf0015e9b4a40bdc3eccbf (patch)
tree10c8b572376e9f2f1371f1595ec649e41ccae8d9 /rust/hw/timer
parent1433e38cc840957bafe6bc17a241c57cf93c90cd (diff)
downloadqemu-9ee488670066b5fdeebf0015e9b4a40bdc3eccbf.zip
qemu-9ee488670066b5fdeebf0015e9b4a40bdc3eccbf.tar.gz
qemu-9ee488670066b5fdeebf0015e9b4a40bdc3eccbf.tar.bz2
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 <zhao1.liu@intel.com> Link: https://lore.kernel.org/r/20250217154416.3144571-1-zhao1.liu@intel.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/hw/timer')
-rw-r--r--rust/hw/timer/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/hw/timer/Kconfig b/rust/hw/timer/Kconfig
index afd9803..42e4213 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