Home
last modified time | relevance | path

Searched hist:"094 cd35913bd66228a9a3239e66b1f6f5d667d4b" (Results 1 – 4 of 4) sorted by relevance

/qemu/rust/qemu-api/src/
H A Dmemory.rs094cd35913bd66228a9a3239e66b1f6f5d667d4b Fri Dec 13 16:54:33 UTC 2024 Paolo Bonzini <pbonzini@redhat.com> rust: qom: remove operations on &mut

The dubious casts of mutable references to objects are not used
anymore: the wrappers for qdev_init_clock_in and for IRQ and MMIO
initialization can be called directly on the subclasses, without
casts, plus they take a shared reference so they can just use
"upcast()" instead of "upcast_mut()". Remove them.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
H A Dqom.rs094cd35913bd66228a9a3239e66b1f6f5d667d4b Fri Dec 13 16:54:33 UTC 2024 Paolo Bonzini <pbonzini@redhat.com> rust: qom: remove operations on &mut

The dubious casts of mutable references to objects are not used
anymore: the wrappers for qdev_init_clock_in and for IRQ and MMIO
initialization can be called directly on the subclasses, without
casts, plus they take a shared reference so they can just use
"upcast()" instead of "upcast_mut()". Remove them.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
H A Dprelude.rs094cd35913bd66228a9a3239e66b1f6f5d667d4b Fri Dec 13 16:54:33 UTC 2024 Paolo Bonzini <pbonzini@redhat.com> rust: qom: remove operations on &mut

The dubious casts of mutable references to objects are not used
anymore: the wrappers for qdev_init_clock_in and for IRQ and MMIO
initialization can be called directly on the subclasses, without
casts, plus they take a shared reference so they can just use
"upcast()" instead of "upcast_mut()". Remove them.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
/qemu/rust/qemu-api/tests/
H A Dtests.rs094cd35913bd66228a9a3239e66b1f6f5d667d4b Fri Dec 13 16:54:33 UTC 2024 Paolo Bonzini <pbonzini@redhat.com> rust: qom: remove operations on &mut

The dubious casts of mutable references to objects are not used
anymore: the wrappers for qdev_init_clock_in and for IRQ and MMIO
initialization can be called directly on the subclasses, without
casts, plus they take a shared reference so they can just use
"upcast()" instead of "upcast_mut()". Remove them.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>