On Thu, Feb 27, 2025 at 03:22:15PM +0100, Paolo Bonzini wrote: > Date: Thu, 27 Feb 2025 15:22:15 +0100 > From: Paolo Bonzini <pbonz...@redhat.com> > Subject: [PATCH 08/12] rust: hpet: do not access fields of SysBusDevice > X-Mailer: git-send-email 2.48.1 > > Fields of SysBusDevice must only be accessed with the BQL taken. Add > a wrapper that verifies that. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > rust/hw/timer/hpet/src/hpet.rs | 4 +--- > rust/qemu-api/src/sysbus.rs | 12 ++++++++++++ > 2 files changed, 13 insertions(+), 3 deletions(-)
Reviewed-by: Zhao Liu <zhao1....@intel.com>