You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
1 week ago
..
kvm-accel-ops.c include: Rename sysemu/ -> system/ 2 months ago
kvm-all.c system/physmem: handle hugetlb correctly in qemu_ram_remap() 1 week ago
kvm-cpus.h include: Rename sysemu/ -> system/ 2 months ago
meson.build target/i386/kvm: Restrict SEV stubs to x86 architecture 3 years ago
trace-events KVM: Dynamic sized kvm memslots array 4 months ago
trace.h trace: switch position of headers to what Meson requires 5 years ago