Re: [Qemu-devel] [PATCH v2 for-1.6 0/2] virtio-mmio: fixes to QueueNum, QueueNumMax

2013-08-11 Thread Michael S. Tsirkin
On Fri, Aug 09, 2013 at 04:47:40PM +0100, Peter Maydell wrote: > On 26 July 2013 16:41, Peter Maydell wrote: > > These patches fix a couple of bugs in virtio-mmio's > > handling of the registers that deal with the queue size: > > > > * as mst points out, letting the guest flip a queue between > >

Re: [Qemu-devel] [PATCH v2 for-1.6 0/2] virtio-mmio: fixes to QueueNum, QueueNumMax

2013-08-09 Thread Peter Maydell
On 26 July 2013 16:41, Peter Maydell wrote: > These patches fix a couple of bugs in virtio-mmio's > handling of the registers that deal with the queue size: > > * as mst points out, letting the guest flip a queue between >"exists" and "doesn't exist" is a bad idea > * QueueNumMax wasn't read

[Qemu-devel] [PATCH v2 for-1.6 0/2] virtio-mmio: fixes to QueueNum, QueueNumMax

2013-07-26 Thread Peter Maydell
These patches fix a couple of bugs in virtio-mmio's handling of the registers that deal with the queue size: * as mst points out, letting the guest flip a queue between "exists" and "doesn't exist" is a bad idea * QueueNumMax wasn't reading the correct value for nonexistent queues This do