[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 10/10] rust: qdev: make reset take a shared reference
From: |
Zhao Liu |
Subject: |
Re: [PATCH 10/10] rust: qdev: make reset take a shared reference |
Date: |
Thu, 23 Jan 2025 14:19:04 +0800 |
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 <pbonzini@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 <pbonzini@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.liu@intel.com>
- Re: [PATCH 04/10] rust: pl011: extract CharBackend receive logic into a separate function, (continued)
- [PATCH 06/10] rust: pl011: extract PL011Registers, Paolo Bonzini, 2025/01/17
- [PATCH 05/10] rust: pl011: pull interrupt updates out of read/write ops, Paolo Bonzini, 2025/01/17
- [PATCH 07/10] rust: pl011: wrap registers with BqlRefCell, Paolo Bonzini, 2025/01/17
- [PATCH 10/10] rust: qdev: make reset take a shared reference, Paolo Bonzini, 2025/01/17
- Re: [PATCH 10/10] rust: qdev: make reset take a shared reference,
Zhao Liu <=
- [PATCH 08/10] rust: pl011: remove duplicate definitions, Paolo Bonzini, 2025/01/17
- [PATCH 09/10] rust: pl011: pull device-specific code out of MemoryRegionOps callbacks, Paolo Bonzini, 2025/01/17