On Fri, Jan 17, 2025 at 10:26:57AM +0100, Paolo Bonzini wrote: > Date: Fri, 17 Jan 2025 10:26:57 +0100 > From: Paolo Bonzini <pbonz...@redhat.com> > Subject: [PATCH 10/10] rust: qdev: make reset take a shared reference > X-Mailer: git-send-email 2.47.1 > > Because register reset is within a borrow_mut() call, reset > does not need anymore a mut reference to the PL011State. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > rust/hw/char/pl011/src/device.rs | 4 ++-- > rust/qemu-api/src/qdev.rs | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) >
Reviewed-by: Zhao Liu <zhao1....@intel.com>