OSDN Git Service

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 S. Tsirkin <mst@redhat.com>
Sat, 28 Jan 2023 11:21:30 +0000 (06:21 -0500)
commit4382138f642f69fdbc79ebf4e93d84be8061191f
tree1b1c3eaaffd92672291d28e9cb29aa183610597d
parentf340a59d5a852d75ae34555723694c7e8eafbd0c
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>
hw/virtio/vhost-user.c