]> git.ipfire.org Git - thirdparty/qemu.git/commit
rust: bql: add BqlRefCell::get_mut()
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 17 Sep 2025 10:10:45 +0000 (12:10 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Oct 2025 09:03:59 +0000 (11:03 +0200)
commit818231bc6d24859fde179d1ab022bd932f409d10
treeeb559280ecd342ae94e60fc5c81264cea4abdbcd
parent0de36ecb2b0e21a4bf610c2934b250a577490c38
rust: bql: add BqlRefCell::get_mut()

This method is rarely useful in QEMU due to the pervasiveness of
shared references, but add it for when a &mut BqlRefCell<> is used.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/bql/src/cell.rs