Revert "9p: init_in_iov_from_pdu can truncate the size"
authorStefano Stabellini <stefano.stabellini@xilinx.com>
Thu, 21 May 2020 19:26:25 +0000 (12:26 -0700)
committerGreg Kurz <groug@kaod.org>
Mon, 25 May 2020 09:45:38 +0000 (11:45 +0200)
commitcf45183b718f02b1369e18c795dc51bc1821245d
treec04a79688766ce0a81a36681888d0d7b8f767f8a
parented463454efd0ac3042ff772bfe1b1d846dc281a5
Revert "9p: init_in_iov_from_pdu can truncate the size"

This reverts commit 16724a173049ac29c7b5ade741da93a0f46edff7.
It causes https://bugs.launchpad.net/bugs/1877688.

Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: <20200521192627.15259-1-sstabellini@kernel.org>
Signed-off-by: Greg Kurz <groug@kaod.org>
hw/9pfs/9p.c
hw/9pfs/9p.h
hw/9pfs/virtio-9p-device.c
hw/9pfs/xen-9p-backend.c