qemu/accel/kvm
William Roche c1cda1c5f8 system/physmem: handle hugetlb correctly in qemu_ram_remap()
The list of hwpoison pages used to remap the memory on reset
is based on the backend real page size.
To correctly handle hugetlb, we must mmap(MAP_FIXED) a complete
hugetlb page; hugetlb pages cannot be partially mapped.

Signed-off-by: William Roche <william.roche@oracle.com>
Co-developed-by: David Hildenbrand <david@redhat.com>
Acked-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Link: https://lore.kernel.org/r/20250211212707.302391-2-william.roche@oracle.com
Signed-off-by: Peter Xu <peterx@redhat.com>
2025-02-12 11:33:13 -05:00
..
kvm-accel-ops.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
kvm-all.c system/physmem: handle hugetlb correctly in qemu_ram_remap() 2025-02-12 11:33:13 -05:00
kvm-cpus.h include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
meson.build target/i386/kvm: Restrict SEV stubs to x86 architecture 2021-10-13 10:47:49 +02:00
trace-events KVM: Dynamic sized kvm memslots array 2024-10-17 19:41:30 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00