Searched hist:"094 cd35913bd66228a9a3239e66b1f6f5d667d4b" (Results 1 – 4 of 4) sorted by relevance
/qemu/rust/qemu-api/src/ |
H A D | memory.rs | 094cd35913bd66228a9a3239e66b1f6f5d667d4b 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 D | qom.rs | 094cd35913bd66228a9a3239e66b1f6f5d667d4b 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 D | prelude.rs | 094cd35913bd66228a9a3239e66b1f6f5d667d4b 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 D | tests.rs | 094cd35913bd66228a9a3239e66b1f6f5d667d4b 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>
|