]> git.ipfire.org Git - thirdparty/qemu.git/commit
Revert "vhost-user: Introduce nested event loop in vhost_user_read()"
authorGreg Kurz <groug@kaod.org>
Thu, 19 Jan 2023 17:24:24 +0000 (18:24 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 18 May 2023 18:09:59 +0000 (21:09 +0300)
commit0c6e9547ae6de872fe4a6822ca99c6389141088c
tree7ff196eb3ccf6ec9c1bac8f54c889ab8ab4ba030
parent7620c12422bef5f98647511317de15b953d3ffe7
Revert "vhost-user: Introduce nested event loop in vhost_user_read()"

This reverts commit a7f523c7d114d445c5d83aecdba3efc038e5a692.

The nested event loop is broken by design. It's only user was removed.
Drop the code as well so that nobody ever tries to use it again.

I had to fix a couple of trivial conflicts around return values because
of 025faa872bcf ("vhost-user: stick to -errno error return convention").

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <20230119172424.478268-3-groug@kaod.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com>
(cherry picked from commit 4382138f642f69fdbc79ebf4e93d84be8061191f)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/virtio/vhost-user.c