All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] vhost-user: set_mem_table updates
@ 2016-09-08  8:34 Maxime Coquelin
  2016-09-08  8:34 ` [Qemu-devel] [PATCH 1/2] Revert "Revert "vhost-user: Attempt to fix a race with set_mem_table."" Maxime Coquelin
  2016-09-08  8:34 ` [Qemu-devel] [PATCH 2/2] vhost-user: only seek a reply if needed in set_mem_table Maxime Coquelin
  0 siblings, 2 replies; 9+ messages in thread
From: Maxime Coquelin @ 2016-09-08  8:34 UTC (permalink / raw)
  To: mst, qemu-devel
  Cc: prerna.saxena, marcandre.lureau, peter.maydell, Maxime Coquelin

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-09-12  7:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-08  8:34 [Qemu-devel] [PATCH 0/2] vhost-user: set_mem_table updates Maxime Coquelin
2016-09-08  8:34 ` [Qemu-devel] [PATCH 1/2] Revert "Revert "vhost-user: Attempt to fix a race with set_mem_table."" Maxime Coquelin
2016-09-08  8:34 ` [Qemu-devel] [PATCH 2/2] vhost-user: only seek a reply if needed in set_mem_table Maxime Coquelin
2016-09-08 11:33   ` Prerna Saxena
2016-09-08 11:56     ` Marc-André Lureau
2016-09-08 15:06       ` Michael S. Tsirkin
2016-09-08 15:17     ` Michael S. Tsirkin
2016-09-08 15:15   ` Michael S. Tsirkin
2016-09-12  7:27     ` Maxime Coquelin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.