Revision 052e87b0 hw/virtio/dataplane/hostmem.c

b/hw/virtio/dataplane/hostmem.c
90 90
    hostmem->new_regions[num] = (HostMemRegion){
91 91
        .host_addr = ram_ptr + section->offset_within_region,
92 92
        .guest_addr = section->offset_within_address_space,
93
        .size = section->size,
93
        .size = int128_get64(section->size),
94 94
        .readonly = section->readonly,
95 95
    };
96 96
    hostmem->num_new_regions++;

Also available in: Unified diff