qemu/include
Dr. David Alan Gilbert c44317efec vhost: Build temporary section list and deref after commit
Igor spotted that there's a race, where a region that's unref'd
in a _del callback might be free'd before the set_mem_table call in
the _commit callback, and thus the vhost might end up using free memory.

Fix this by building a complete temporary sections list, ref'ing every
section (during add and nop) and then unref'ing the whole list right
at the end of commit.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2018-02-08 21:06:40 +02:00
..
block block: Move NVMe constants to a separate header 2018-02-08 09:22:03 +08:00
chardev chardev: introduce qemu_chr_timeout_add_ms() 2018-01-12 13:22:02 +01:00
crypto block: convert qcrypto_block_encrypt|decrypt to take bytes offset 2017-10-06 16:30:47 +02:00
disas target/xtensa: implement disassembler 2018-01-09 09:55:39 -08:00
exec * socket option parsing fix (Daniel) 2018-02-07 20:40:36 +00:00
fpu
hw vhost: Build temporary section list and deref after commit 2018-02-08 21:06:40 +02:00
io io: introduce a network socket listener API 2017-12-15 15:07:26 +00:00
libdecnumber
migration vmstate: Add VMSTATE_UINT64_SUB_ARRAY 2018-01-25 11:45:29 +00:00
monitor
net net: Remove the legacy "-net channel" parameter 2017-12-22 10:05:26 +08:00
qapi error: Improve documentation of error_append_hint() 2018-02-06 18:24:43 +01:00
qemu util: Introduce vfio helpers 2018-02-08 09:22:03 +08:00
qom accel/tcg: add size paremeter in tlb_fill() 2018-01-25 16:02:24 +01:00
scsi scsi: provide general-purpose functions to manage sense data 2017-12-21 09:30:32 +01:00
standard-headers linux-headers: update 2018-01-22 11:07:47 +01:00
sysemu block: Introduce buf register API 2018-02-08 09:22:03 +08:00
ui ui: fix alphabetical ordering of keymaps 2018-01-29 09:35:43 +01:00
elf.h
glib-compat.h glib-compat: move G_SOURCE_CONTINUE/REMOVE there 2017-10-10 16:33:55 +02:00
qemu-common.h Use HTTPS for qemu.org and other domains 2017-11-21 13:34:13 +00:00
qemu-io.h
trace-tcg.h