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>
2022-10-31 20:37:59 +00:00
..
elf2dmp elf2dmp: free memory in failure 2022-10-22 23:10:03 +02:00
gitdm contrib/gitdm: add Université Grenoble Alpes 2022-10-06 11:53:41 +01:00
ivshmem-client meson: build contrib/ executables after generated headers 2022-01-12 14:09:06 +01:00
ivshmem-server util: rename qemu_*block() socket functions 2022-05-03 15:53:20 +04:00
plugins contrib/plugins: protect execlog's last_exec expansion 2022-10-31 20:37:59 +00:00
rdmacm-mux meson, configure: move RDMA options to meson 2022-04-28 08:52:20 +02:00
systemd contrib: add systemd unit files 2017-12-20 22:29:26 +01:00
vhost-user-blk contrib/vhost-user-blk: Clean up deallocation of VuVirtqElement 2022-08-08 07:19:26 +02:00
vhost-user-gpu Replace qemu_real_host_page variables with inlined functions 2022-04-06 10:50:38 +02:00
vhost-user-input Fix build with 64 bits time_t 2021-05-14 10:26:18 -04:00
vhost-user-scsi vhost-user-scsi: avoid unlink(NULL) with fd passing 2022-05-16 16:48:35 -04:00