commit | eadb83f9a3722045e291b6a73994004007dc4657 | [log] [tgz] |
---|---|---|
author | Zhao Liu <zhao1.liu@intel.com> | Mon Feb 10 11:00:47 2025 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Feb 13 12:51:34 2025 +0100 |
tree | a4ee1dd4d1167655bb16b2c879049f0ac6ffe696 | |
parent | d015d4cbb4d16cf8adc8c10cbd2d0a45f014dad1 [diff] |
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>