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
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
..
kvm-accel-ops.c accel: make all calls to qemu_process_cpu_events look the same 1 month ago
kvm-all.c accel/kvm: Fix an erroneous check on coalesced_mmio_ring 1 day ago
kvm-cpus.h accel/kvm: Remove unused 'system/cpus.h' header in kvm-cpus.h 8 months ago
meson.build target/i386/kvm: Restrict SEV stubs to x86 architecture 4 years ago
trace-events KVM: Dynamic sized kvm memslots array 1 year ago
trace.h trace: switch position of headers to what Meson requires 5 years ago