On 2/25/25 10:14, Zhao Liu wrote:
impl MemoryRegion {
// inline to ensure that it is not included in tests, which only
@@ -174,13 +174,15 @@ pub fn init_io>(
size: u64,
) {
unsafe {
-Self::do_init_io(&mut self.inner, owner.cast::(), &ops.0,
name, siz
> impl MemoryRegion {
> // inline to ensure that it is not included in tests, which only
> @@ -174,13 +174,15 @@ pub fn init_io>(
> size: u64,
> ) {
> unsafe {
> -Self::do_init_io(&mut self.inner, owner.cast::(),
> &ops.0, name, size);
> +Self::
Signed-off-by: Paolo Bonzini
---
rust/qemu-api/src/bindings.rs | 3 ---
rust/qemu-api/src/memory.rs | 30 --
2 files changed, 16 insertions(+), 17 deletions(-)
diff --git a/rust/qemu-api/src/bindings.rs b/rust/qemu-api/src/bindings.rs
index b791ca6d87f..26cc8de0cf2