diff options
| author | Zhao Liu <zhao1.liu@intel.com> | 2025-05-26 13:54:21 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-06-06 14:32:54 +0200 |
| commit | 869b0afa4fafb73ba5a3c556b0ef5e5c1a39e717 (patch) | |
| tree | 4e1c20e5c944bb86773c8c5912692917b7455e05 /rust/qemu-api-macros/src | |
| parent | 4d2fec89cb8651ee760ff9296c8d3e2ade4cc063 (diff) | |
| download | focaccia-qemu-869b0afa4fafb73ba5a3c556b0ef5e5c1a39e717.tar.gz focaccia-qemu-869b0afa4fafb73ba5a3c556b0ef5e5c1a39e717.zip | |
rust/hpet: Drop BqlCell wrapper for num_timers
Now that the num_timers field is initialized as a property, someone may change its default value using qdev_prop_set_uint8(), but the value is fixed after the Rust code sees it first. Since there is no need to modify it after realize(), it is not to be necessary to have a BqlCell wrapper. Signed-off-by: Zhao Liu <zhao1.liu@intel.com> Link: https://lore.kernel.org/r/20250520152750.2542612-4-zhao1.liu@intel.com [Remove .into() as well. - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros/src')
0 files changed, 0 insertions, 0 deletions