summary refs log tree commit diff stats
path: root/docs/devel
diff options
context:
space:
mode:
authorZhao Liu <zhao1.liu@intel.com>2025-02-10 11:00:47 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2025-02-13 12:51:34 +0100
commiteadb83f9a3722045e291b6a73994004007dc4657 (patch)
treea4ee1dd4d1167655bb16b2c879049f0ac6ffe696 /docs/devel
parentd015d4cbb4d16cf8adc8c10cbd2d0a45f014dad1 (diff)
downloadfocaccia-qemu-eadb83f9a3722045e291b6a73994004007dc4657.tar.gz
focaccia-qemu-eadb83f9a3722045e291b6a73994004007dc4657.zip
rust: add bindings for timer
Add timer bindings to help handle idiomatic Rust callbacks.

Additionally, wrap QEMUClockType in ClockType binding to avoid unsafe
calls in device code.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250210030051.2562726-7-zhao1.liu@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/devel')
-rw-r--r--docs/devel/rust.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/devel/rust.rst b/docs/devel/rust.rst
index a5399db50b..90958e5a30 100644
--- a/docs/devel/rust.rst
+++ b/docs/devel/rust.rst
@@ -186,6 +186,7 @@ module           status
 ``qdev``         stable
 ``qom``          stable
 ``sysbus``       stable
+``timer``        stable
 ``vmstate``      proof of concept
 ``zeroable``     stable
 ================ ======================