qemu-e2k/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
disas
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
libdecnumber
migration vmstate: Add VMSTATE_UINT64_SUB_ARRAY 2018-01-25 11:45:29 +00:00
monitor
net
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
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
qemu-common.h
qemu-io.h
trace-tcg.h