Re: [Qemu-devel] [PATCH] virtio-ccw: fix ring sizing

2017-01-13 Thread Cornelia Huck
On Thu, 12 Jan 2017 23:26:22 +0200 "Michael S. Tsirkin" wrote: > Current code seems to assume ring size is > always decreased but this is not required by spec: > what spec says is just that size can not exceed > the maximum. Fix it up. > > Signed-off-by: Michael S. Tsirkin

[Qemu-devel] [PATCH] virtio-ccw: fix ring sizing

2017-01-12 Thread Michael S. Tsirkin
Current code seems to assume ring size is always decreased but this is not required by spec: what spec says is just that size can not exceed the maximum. Fix it up. Signed-off-by: Michael S. Tsirkin --- include/hw/virtio/virtio.h | 1 + hw/s390x/virtio-ccw.c | 2 +-