Re: [Qemu-devel] [PATCH v2] virtio: ring sizes vs. reset

2015-09-10 Thread Jason Wang
On 09/10/2015 07:48 PM, 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 not reset the rin

[Qemu-devel] [PATCH v2] virtio: ring sizes vs. reset

2015-09-10 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