qemu/accel/kvm
Masato Imai e65152d548 migration/dirtyrate: Fix segmentation fault
Since the kvm_dirty_ring_enabled function accesses a null kvm_state
pointer when the KVM acceleration parameter is not specified, running
calc_dirty_rate with the -r or -b option causes a segmentation fault.

Signed-off-by: Masato Imai <mii@sfc.wide.ad.jp>
Message-ID: <20240507025010.1968881-1-mii@sfc.wide.ad.jp>
[Assert kvm_state when kvm_dirty_ring_enabled was called to fix it. - Hyman]
Signed-off-by: Hyman Huang <yong.huang@smartx.com>
2024-06-17 23:29:21 +08:00
..
kvm-accel-ops.c cpu: move Qemu[Thread|Cond] setup into common code 2024-06-04 10:02:39 +02:00
kvm-all.c migration/dirtyrate: Fix segmentation fault 2024-06-17 23:29:21 +08:00
kvm-cpus.h gdbstub: Use vaddr type for generic insert/remove_breakpoint() API 2023-02-27 22:29:01 +01:00
meson.build target/i386/kvm: Restrict SEV stubs to x86 architecture 2021-10-13 10:47:49 +02:00
trace-events kvm: handle KVM_EXIT_MEMORY_FAULT 2024-04-23 17:35:26 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00