qemu/accel/kvm
Salil Mehta 036144cff2 accel/kvm/kvm-all: Fixes the missing break in vCPU unpark logic
Loop should exit prematurely on successfully finding out the parked vCPU (struct
KVMParkedVcpu) in the 'struct KVMState' maintained 'kvm_parked_vcpus' list of
parked vCPUs.

Fixes: Coverity CID 1558552
Fixes: 08c3286822 ("accel/kvm: Extract common KVM vCPU {creation,parking} code")
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20240725145132.99355-1-salil.mehta@huawei.com
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Message-ID: <CAFEAcA-3_d1c7XSXWkFubD-LsW5c5i95e6xxV09r2C9yGtzcdA@mail.gmail.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2024-08-01 10:15:03 +01: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 accel/kvm/kvm-all: Fixes the missing break in vCPU unpark logic 2024-08-01 10:15:03 +01:00
kvm-cpus.h accel/kvm: Extract common KVM vCPU {creation,parking} code 2024-07-22 20:15:41 -04:00
meson.build target/i386/kvm: Restrict SEV stubs to x86 architecture 2021-10-13 10:47:49 +02:00
trace-events accel/kvm: Extract common KVM vCPU {creation,parking} code 2024-07-22 20:15:41 -04:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00