Re: [Qemu-devel] [PATCH 1/4] virtio: ring sizes vs. reset

2015-09-10 Thread Michael S. Tsirkin
On Thu, Sep 10, 2015 at 12:22:54PM +0200, Cornelia Huck wrote: > On Thu, 10 Sep 2015 12:02:44 +0300 > "Michael S. Tsirkin" wrote: > > > On Fri, Sep 04, 2015 at 10:54:26AM +0200, Cornelia Huck wrote: > > > We allow guests to change the size of the virtqueue rings by supplying > > > a number of buf

Re: [Qemu-devel] [PATCH 1/4] virtio: ring sizes vs. reset

2015-09-10 Thread Cornelia Huck
On Thu, 10 Sep 2015 12:02:44 +0300 "Michael S. Tsirkin" wrote: > On Fri, Sep 04, 2015 at 10:54:26AM +0200, Cornelia Huck wrote: > > We allow guests to change the size of the virtqueue rings by supplying > > a number of buffers that is different from the number of buffers the > > device was initia

Re: [Qemu-devel] [PATCH 1/4] virtio: ring sizes vs. reset

2015-09-10 Thread Michael S. Tsirkin
On Fri, Sep 04, 2015 at 10:54:26AM +0200, Cornelia Huck wrote: > We allow guests to change the size of the virtqueue rings by supplying > a number of buffers that is different from the number of buffers the > device was initialized with. Current code has some problems, however, > since reset does n

[Qemu-devel] [PATCH 1/4] virtio: ring sizes vs. reset

2015-09-04 Thread Cornelia Huck
We allow guests to change the size of the virtqueue rings by supplying a number of buffers that is different from the number of buffers the device was initialized with. Current code has some problems, however, since reset does not reset the ringsizes to the default values (as this is not saved anyw