Re: [Qemu-devel] [PATCH v3 3/4] virtio-9p: break device if buffers are misconfigured

2017-06-21 Thread Greg Kurz
On Thu, 22 Jun 2017 01:09:24 +0300 "Michael S. Tsirkin" wrote: > On Wed, Jun 21, 2017 at 07:42:15PM +0200, Greg Kurz wrote: > > The 9P protocol is transport agnostic: if the guest misconfigured the > > buffers, the best we can do is to set the broken flag on the device. > > > > We check if the t

Re: [Qemu-devel] [PATCH v3 3/4] virtio-9p: break device if buffers are misconfigured

2017-06-21 Thread Michael S. Tsirkin
On Wed, Jun 21, 2017 at 07:42:15PM +0200, Greg Kurz wrote: > The 9P protocol is transport agnostic: if the guest misconfigured the > buffers, the best we can do is to set the broken flag on the device. > > We check if the transport isn't broken already to avoid printing extra > error messages. >

[Qemu-devel] [PATCH v3 3/4] virtio-9p: break device if buffers are misconfigured

2017-06-21 Thread Greg Kurz
The 9P protocol is transport agnostic: if the guest misconfigured the buffers, the best we can do is to set the broken flag on the device. We check if the transport isn't broken already to avoid printing extra error messages. Signed-off-by: Greg Kurz --- hw/9pfs/9p.c |2 +- hw