aboutsummaryrefslogtreecommitdiff
path: root/hw/riscv
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2024-01-17 14:55:53 +0100
committerDavid Hildenbrand <david@redhat.com>2024-02-04 17:42:03 +0100
commitf77c5f38f49c71bc14cf1019ac92b0b95f572414 (patch)
tree549f014b21f9153ff365391beda32885c825ce53 /hw/riscv
parent39a6e4f87e7b75a45b08d6dc8b8b7c2954c87440 (diff)
downloadqemu-f77c5f38f49c71bc14cf1019ac92b0b95f572414.zip
qemu-f77c5f38f49c71bc14cf1019ac92b0b95f572414.tar.gz
qemu-f77c5f38f49c71bc14cf1019ac92b0b95f572414.tar.bz2
hv-balloon: use get_min_alignment() to express 32 GiB alignment
Let's implement the get_min_alignment() callback for memory devices, and copy for the device memory region the alignment of the host memory region. This mimics what virtio-mem does, and allows for re-introducing proper alignment checks for the memory region size (where we don't care about additional device requirements) in memory device core. Message-ID: <20240117135554.787344-2-david@redhat.com> Reviewed-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com> Signed-off-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'hw/riscv')
0 files changed, 0 insertions, 0 deletions