diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-12-02 12:40:18 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-01-28 17:58:09 +0100 |
commit | af7edb1d326de0af565b48c663163c7e5050e03c (patch) | |
tree | 0c2c58e68abd690dac041068444c3f0ec6610441 /rust/qemu-api/src/qom.rs | |
parent | 20bcc96f458dafb9fcf84e240545c8136ac7443f (diff) | |
download | qemu-af7edb1d326de0af565b48c663163c7e5050e03c.zip qemu-af7edb1d326de0af565b48c663163c7e5050e03c.tar.gz qemu-af7edb1d326de0af565b48c663163c7e5050e03c.tar.bz2 |
rust: qdev: make reset take a shared reference
Because register reset is within a borrow_mut() call, reset
does not need anymore a mut reference to the PL011State.
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api/src/qom.rs')
0 files changed, 0 insertions, 0 deletions