diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2019-08-12 17:35:19 +0100 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-01-23 16:41:37 +0000 |
commit | 49e9ec749d4db62ae51f76354143cee183912a1d (patch) | |
tree | d401953a743b16c3b3c12851e5ac669a6bb2f542 /tools/virtiofsd | |
parent | 1222f015558fc34cea02aa3a5a92de608c82cec8 (diff) |
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 'tools/virtiofsd')
0 files changed, 0 insertions, 0 deletions