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
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>
1 day ago
..
hvf accel: make all calls to qemu_process_cpu_events look the same 1 month ago
kvm accel/kvm: Fix an erroneous check on coalesced_mmio_ring 1 day ago
mshv target/i386/mshv: Use preallocated page for hvcall 2 weeks ago
qtest accel: Extract AccelClass definition to 'accel/accel-ops.h' 3 months ago
stubs accel/mshv: Initialize VM partition 2 weeks ago
tcg accel/tcg: Hoist first page lookup above pointer_wrap 1 week ago
xen accel: Extract AccelClass definition to 'accel/accel-ops.h' 3 months ago
Kconfig accel: Add Meson and config support for MSHV accelerator 2 weeks ago
accel-blocker.c include: Rename sysemu/ -> system/ 10 months ago
accel-common.c accel: Extract AccelClass definition to 'accel/accel-ops.h' 3 months ago
accel-internal.h accel: Include missing 'qemu/accel.h' header in accel-internal.h 6 months ago
accel-irq.c hw/intc: Generalize APIC helper names from kvm_* to accel_* 2 weeks ago
accel-qmp.c accel/system: Introduce @x-accel-stats QMP command 3 months ago
accel-system.c accel/system: Add 'info accel' on human monitor 3 months ago
accel-target.c accel: Move target-agnostic code from accel-target.c -> accel-common.c 6 months ago
accel-user.c accel: Implement accel_init_ops_interfaces() for both system/user mode 6 months ago
dummy-cpus.c accel: make all calls to qemu_process_cpu_events look the same 1 month ago
dummy-cpus.h accel/dummy: Extract 'dummy-cpus.h' header from 'system/cpus.h' 4 months ago
meson.build accel/mshv: Add accelerator skeleton 2 weeks ago