Files
qemu/include/hw
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
..
2018-01-29 14:22:50 -05:00
2016-10-04 13:28:07 +01:00
2017-12-19 09:25:28 +00:00
2016-10-04 13:28:09 +01:00
2017-01-27 18:07:59 +01:00
2017-01-24 23:26:52 +03:00
2017-06-23 11:51:50 +02:00
2016-05-18 15:04:27 +03:00
2018-01-19 11:18:51 -02:00
2017-10-15 05:54:40 +03:00
2017-12-05 19:13:45 +02:00
2018-01-24 19:19:51 +00:00
2017-12-14 17:56:54 +01:00
2017-01-27 18:07:59 +01:00
2017-12-05 19:13:45 +02:00
2017-01-27 18:07:59 +01:00
2018-01-12 13:22:02 +01:00
2017-04-24 12:32:12 +01:00
2017-06-01 18:49:22 +02:00
2014-10-23 16:41:25 +02:00
2017-09-08 16:15:17 +03:00