Re: [Qemu-devel] [PATCH] virtio-scsi: Report error if num_queues is 0 or too large

2014-08-26 Thread Paolo Bonzini
Il 26/08/2014 08:30, Fam Zheng ha scritto: > No cmd vq surprises guest (Linux panics in virtscsi_probe), too many > queues abort qemu (in the following virtio_add_queue). > > Signed-off-by: Fam Zheng > --- > hw/scsi/virtio-scsi.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/hw

[Qemu-devel] [PATCH] virtio-scsi: Report error if num_queues is 0 or too large

2014-08-25 Thread Fam Zheng
No cmd vq surprises guest (Linux panics in virtscsi_probe), too many queues abort qemu (in the following virtio_add_queue). Signed-off-by: Fam Zheng --- hw/scsi/virtio-scsi.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/hw/scsi/virtio-scsi.c b/hw/scsi/virtio-scsi.c index 2dd9255..86