On Mon, May 26, 2025 at 04:24:55PM +0200, Paolo Bonzini wrote: > Date: Mon, 26 May 2025 16:24:55 +0200 > From: Paolo Bonzini <pbonz...@redhat.com> > Subject: [PATCH 12/12] rust/hpet: Drop BqlCell wrapper for num_timers > X-Mailer: git-send-email 2.49.0 > > From: Zhao Liu <zhao1....@intel.com> > > 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....@intel.com> > Link: https://lore.kernel.org/r/20250520152750.2542612-4-zhao1....@intel.com > [Remove .into() as well. - Paolo] > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > rust/hw/timer/hpet/src/hpet.rs | 27 +++++++++++---------------- > 1 file changed, 11 insertions(+), 16 deletions(-)
Thank you! Now we're finally here. Reviewed-by: Zhao Liu <zhao1....@intel.com>