qemu-cr16/accel
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
..
hvf accel: make all calls to qemu_process_cpu_events look the same 2025-09-17 19:00:56 +02:00
kvm accel/kvm: Fix an erroneous check on coalesced_mmio_ring 2025-10-22 08:12:52 +02:00
mshv target/i386/mshv: Use preallocated page for hvcall 2025-10-08 19:17:31 +02:00
qtest accel: Extract AccelClass definition to 'accel/accel-ops.h' 2025-07-15 19:34:33 +02:00
stubs accel/mshv: Initialize VM partition 2025-10-08 19:17:30 +02:00
tcg accel/tcg: Hoist first page lookup above pointer_wrap 2025-10-14 07:33:21 -07:00
xen accel: Extract AccelClass definition to 'accel/accel-ops.h' 2025-07-15 19:34:33 +02:00
accel-blocker.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
accel-common.c accel: Extract AccelClass definition to 'accel/accel-ops.h' 2025-07-15 19:34:33 +02:00
accel-internal.h accel: Include missing 'qemu/accel.h' header in accel-internal.h 2025-04-25 17:09:58 +02:00
accel-irq.c hw/intc: Generalize APIC helper names from kvm_* to accel_* 2025-10-08 19:17:29 +02:00
accel-qmp.c accel/system: Introduce @x-accel-stats QMP command 2025-07-15 19:34:33 +02:00
accel-system.c accel/system: Add 'info accel' on human monitor 2025-07-15 19:34:33 +02:00
accel-target.c accel: Move target-agnostic code from accel-target.c -> accel-common.c 2025-04-25 17:09:58 +02:00
accel-user.c accel: Implement accel_init_ops_interfaces() for both system/user mode 2025-04-25 17:09:58 +02:00
dummy-cpus.c accel: make all calls to qemu_process_cpu_events look the same 2025-09-17 19:00:56 +02:00
dummy-cpus.h accel/dummy: Extract 'dummy-cpus.h' header from 'system/cpus.h' 2025-07-04 14:43:46 +02:00
Kconfig accel: Add Meson and config support for MSHV accelerator 2025-10-08 19:17:27 +02:00
meson.build accel/mshv: Add accelerator skeleton 2025-10-08 19:17:29 +02:00