summary refs log tree commit diff stats
path: root/hw/core/qdev-properties-system.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2019-08-12 17:35:19 +0100
committerDr. David Alan Gilbert <dgilbert@redhat.com>2020-01-23 16:41:37 +0000
commit49e9ec749d4db62ae51f76354143cee183912a1d (patch)
treed401953a743b16c3b3c12851e5ac669a6bb2f542 /hw/core/qdev-properties-system.c
parent1222f015558fc34cea02aa3a5a92de608c82cec8 (diff)
downloadfocaccia-qemu-49e9ec749d4db62ae51f76354143cee183912a1d.tar.gz
focaccia-qemu-49e9ec749d4db62ae51f76354143cee183912a1d.zip
libvhost-user: Fix some memtable remap cases
If a new setmemtable command comes in once the vhost threads are
running, it will remap the guests address space and the threads
will now be looking in the wrong place.

Fortunately we're running this command under lock, so we can
update the queue mappings so that threads will look in the new-right
place.

Note: This doesn't fix things that the threads might be doing
without a lock (e.g. a readv/writev!)  That's for another time.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions