Re: [Qemu-devel] [PATCH v2 3/8] virtio: Add support for guest setting of queue size

2013-07-25 Thread Michael S. Tsirkin
On Thu, Jul 25, 2013 at 01:30:15PM +0100, Peter Maydell wrote: > On 25 July 2013 10:03, Michael S. Tsirkin wrote: > > On Thu, Jul 25, 2013 at 09:50:21AM +0100, Peter Maydell wrote: > >> On 25 July 2013 06:38, Michael S. Tsirkin wrote: > >> > Probably needs to go back to default value on reset? >

Re: [Qemu-devel] [PATCH v2 3/8] virtio: Add support for guest setting of queue size

2013-07-25 Thread Peter Maydell
On 25 July 2013 10:03, Michael S. Tsirkin wrote: > On Thu, Jul 25, 2013 at 09:50:21AM +0100, Peter Maydell wrote: >> On 25 July 2013 06:38, Michael S. Tsirkin wrote: >> > Probably needs to go back to default value on reset? >> >> Tricky, since the default value is "whatever was passed to >> virti

Re: [Qemu-devel] [PATCH v2 3/8] virtio: Add support for guest setting of queue size

2013-07-25 Thread Peter Maydell
On 25 July 2013 10:03, Michael S. Tsirkin wrote: > On Thu, Jul 25, 2013 at 09:50:21AM +0100, Peter Maydell wrote: >> On 25 July 2013 06:38, Michael S. Tsirkin wrote: >> > On Fri, Jul 12, 2013 at 09:36:57PM +0100, Peter Maydell wrote: >> >> The MMIO virtio transport spec allows the guest to tell t

Re: [Qemu-devel] [PATCH v2 3/8] virtio: Add support for guest setting of queue size

2013-07-25 Thread Michael S. Tsirkin
On Thu, Jul 25, 2013 at 09:50:21AM +0100, Peter Maydell wrote: > On 25 July 2013 06:38, Michael S. Tsirkin wrote: > > On Fri, Jul 12, 2013 at 09:36:57PM +0100, Peter Maydell wrote: > >> The MMIO virtio transport spec allows the guest to tell the host how > >> large the queue size is. Add virtio_qu

Re: [Qemu-devel] [PATCH v2 3/8] virtio: Add support for guest setting of queue size

2013-07-25 Thread Peter Maydell
On 25 July 2013 06:38, Michael S. Tsirkin wrote: > On Fri, Jul 12, 2013 at 09:36:57PM +0100, Peter Maydell wrote: >> The MMIO virtio transport spec allows the guest to tell the host how >> large the queue size is. Add virtio_queue_set_num() function which >> implements this in the QEMU common virt

Re: [Qemu-devel] [PATCH v2 3/8] virtio: Add support for guest setting of queue size

2013-07-24 Thread Michael S. Tsirkin
On Fri, Jul 12, 2013 at 09:36:57PM +0100, Peter Maydell wrote: > The MMIO virtio transport spec allows the guest to tell the host how > large the queue size is. Add virtio_queue_set_num() function which > implements this in the QEMU common virtio support code. > > Signed-off-by: Peter Maydell Pr

[Qemu-devel] [PATCH v2 3/8] virtio: Add support for guest setting of queue size

2013-07-12 Thread Peter Maydell
The MMIO virtio transport spec allows the guest to tell the host how large the queue size is. Add virtio_queue_set_num() function which implements this in the QEMU common virtio support code. Signed-off-by: Peter Maydell --- hw/virtio/virtio.c |8 include/hw/virtio/virtio.h