summary refs log tree commit diff stats
path: root/rust/hw/timer
diff options
context:
space:
mode:
authorZhao Liu <zhao1.liu@intel.com>2025-02-10 11:00:51 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2025-02-13 12:51:34 +0100
commitd128c341a744ba3e92fa67d9f1b02dd9a7bd68b9 (patch)
tree55500cc9fcaa50be368f919d5ce2d4a96b308fb3 /rust/hw/timer
parent6e90a8f8136f65273fe7320904e06b27a8a40eda (diff)
downloadfocaccia-qemu-d128c341a744ba3e92fa67d9f1b02dd9a7bd68b9.tar.gz
focaccia-qemu-d128c341a744ba3e92fa67d9f1b02dd9a7bd68b9.zip
i386: enable rust hpet for pc when rust is enabled
Add HPET configuration in PC's Kconfig options, and select HPET device
(Rust version) if Rust is supported.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250210030051.2562726-11-zhao1.liu@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/hw/timer')
-rw-r--r--rust/hw/timer/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/hw/timer/Kconfig b/rust/hw/timer/Kconfig
new file mode 100644
index 0000000000..afd9803350
--- /dev/null
+++ b/rust/hw/timer/Kconfig
@@ -0,0 +1,2 @@
+config X_HPET_RUST
+    bool