virtio-scsi: allocate cmd_vqs array separately.
commit22219527f4272f5199a581bbd3950e9ba96bbc75
authorKONRAD Frederic <fred.konrad@greensocs.com>
Thu, 21 Mar 2013 14:15:12 +0000 (21 15:15 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 26 Mar 2013 14:26:34 +0000 (26 09:26 -0500)
treec2cfe83ff4d04744e3fc7b8c7818b868ce4ec4f5
parent394e2e4c59294f2c5da58d2970693667218c7cf3
virtio-scsi: allocate cmd_vqs array separately.

Allocate/Free the cmd_vqs array separately to have a fixed size device.

Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Message-id: 1363875320-7985-3-git-send-email-fred.konrad@greensocs.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-scsi.c
hw/virtio-scsi.h