qemu-e2k/hw/hyperv
David Hildenbrand f77c5f38f4 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>
2024-02-04 17:42:03 +01:00
..
hv-balloon-internal.h hyperv: Clean up includes 2024-01-30 21:20:20 +03:00
hv-balloon-our_range_memslots.c hyperv: Clean up includes 2024-01-30 21:20:20 +03:00
hv-balloon-our_range_memslots.h hyperv: Clean up includes 2024-01-30 21:20:20 +03:00
hv-balloon-page_range_tree.c hyperv: Clean up includes 2024-01-30 21:20:20 +03:00
hv-balloon-page_range_tree.h hyperv: Clean up includes 2024-01-30 21:20:20 +03:00
hv-balloon-stub.c qapi: Add HV_BALLOON_STATUS_REPORT event and its QMP query command 2023-11-06 14:08:10 +01:00
hv-balloon.c hv-balloon: use get_min_alignment() to express 32 GiB alignment 2024-02-04 17:42:03 +01:00
hyperv_testdev.c Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
hyperv.c hw/hyperv: Include missing headers 2024-01-30 21:20:20 +03:00
Kconfig Add Hyper-V Dynamic Memory Protocol driver (hv-balloon) base 2023-11-06 14:08:10 +01:00
meson.build qapi: Add HV_BALLOON_STATUS_REPORT event and its QMP query command 2023-11-06 14:08:10 +01:00
syndbg.c win32: replace closesocket() with close() wrapper 2023-03-13 15:39:31 +04:00
trace-events Add Hyper-V Dynamic Memory Protocol driver (hv-balloon) hot-add support 2023-11-06 14:08:10 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
vmbus.c vmbus: Switch bus reset to 3-phase-reset 2024-02-02 13:51:57 +00:00