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/contrib
Alex Bennée 14fd492b89 contrib/plugins: protect execlog's last_exec expansion
We originally naively treated expansion as safe because we expected
each new CPU/thread to appear in order. However the -M raspi2 model
triggered a case where a new high cpu_index thread started executing
just before a smaller one.

Clean this up by converting the GArray into the simpler GPtrArray and
then holding a lock for the expansion.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Alexandre Iooss <erdnaxe@crans.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221027183637.2772968-29-alex.bennee@linaro.org>
2 years ago
..
elf2dmp elf2dmp: free memory in failure 2 years ago
gitdm contrib/gitdm: add Université Grenoble Alpes 2 years ago
ivshmem-client meson: build contrib/ executables after generated headers 3 years ago
ivshmem-server util: rename qemu_*block() socket functions 3 years ago
plugins contrib/plugins: protect execlog's last_exec expansion 2 years ago
rdmacm-mux meson, configure: move RDMA options to meson 3 years ago
systemd contrib: add systemd unit files 7 years ago
vhost-user-blk contrib/vhost-user-blk: Clean up deallocation of VuVirtqElement 2 years ago
vhost-user-gpu Replace qemu_real_host_page variables with inlined functions 3 years ago
vhost-user-input Fix build with 64 bits time_t 4 years ago
vhost-user-scsi vhost-user-scsi: avoid unlink(NULL) with fd passing 3 years ago