qemu-cr16/accel/kvm
Zhenzhong Duan 725ec89803 accel/kvm: Fix an erroneous check on coalesced_mmio_ring
According to KVM uAPI, coalesced mmio page is KVM_COALESCED_MMIO_PAGE_OFFSET
offset from kvm_run pages. For x86 it's 2 pages offset, for arm it's 1 page
offset currently. We shouldn't presume it's hardcoded 1 page or else
coalesced_mmio_ring will not be cleared in do_kvm_destroy_vcpu() in x86.

Fixes: 7ed0919119 ("migration: close kvm after cpr")
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Steve Sistare <steven.sistare@oracle.com>
Link: https://lore.kernel.org/qemu-devel/20250928085432.40107-6-zhenzhong.duan@intel.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2025-10-22 08:12:52 +02:00
..
kvm-accel-ops.c accel: make all calls to qemu_process_cpu_events look the same 2025-09-17 19:00:56 +02:00
kvm-all.c accel/kvm: Fix an erroneous check on coalesced_mmio_ring 2025-10-22 08:12:52 +02:00
kvm-cpus.h accel/kvm: Remove unused 'system/cpus.h' header in kvm-cpus.h 2025-03-06 15:46:18 +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