The series first restore the GET_FEATURES call in vhost_set_mem_table(), as the hang it introduced was due to the use of TCG in the vhost-user-test, mode which is no more used since commit cdafe929 ("vhost-user-test: Use libqos instead of pxe-virtio.rom").
Second patch aims at being as close as possible to original behaviour, and so only request a sync after having updated the mem table when necessary. I'll be glad to get your feedback, especially on patch 2, to confirm my understanding is correct, and the sync is not required in the listed cases. Thanks, Maxime Maxime Coquelin (2): Revert "Revert "vhost-user: Attempt to fix a race with set_mem_table."" vhost-user: only seek a reply if needed in set_mem_table hw/virtio/vhost-user.c | 134 +++++++++++++++++++++++++--------------------- hw/virtio/vhost.c | 10 ++++ include/hw/virtio/vhost.h | 1 + 3 files changed, 85 insertions(+), 60 deletions(-) -- 2.7.4