Re: [Qemu-devel] [PATCH 1/2] virtio-scsi-dataplane: fix allocation for 'cmd_vrings'

2014-11-10 Thread Ming Lei
On Mon, Nov 10, 2014 at 5:21 PM, Kevin Wolf wrote: > Am 10.11.2014 um 10:14 hat Ming Lei geschrieben: >> On Mon, Nov 10, 2014 at 4:24 PM, Markus Armbruster wrote: >> > Ming Lei writes: >> > >> >> The size of each element should be sizeof(VirtIOSCSIVring *). >> >> >> >> Signed-off-by: Ming Lei >

Re: [Qemu-devel] [PATCH 1/2] virtio-scsi-dataplane: fix allocation for 'cmd_vrings'

2014-11-10 Thread Kevin Wolf
Am 10.11.2014 um 10:14 hat Ming Lei geschrieben: > On Mon, Nov 10, 2014 at 4:24 PM, Markus Armbruster wrote: > > Ming Lei writes: > > > >> The size of each element should be sizeof(VirtIOSCSIVring *). > >> > >> Signed-off-by: Ming Lei > >> --- > >> hw/scsi/virtio-scsi-dataplane.c |2 +- > >>

Re: [Qemu-devel] [PATCH 1/2] virtio-scsi-dataplane: fix allocation for 'cmd_vrings'

2014-11-10 Thread Ming Lei
On Mon, Nov 10, 2014 at 4:24 PM, Markus Armbruster wrote: > Ming Lei writes: > >> The size of each element should be sizeof(VirtIOSCSIVring *). >> >> Signed-off-by: Ming Lei >> --- >> hw/scsi/virtio-scsi-dataplane.c |2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/

Re: [Qemu-devel] [PATCH 1/2] virtio-scsi-dataplane: fix allocation for 'cmd_vrings'

2014-11-10 Thread Markus Armbruster
Ming Lei writes: > The size of each element should be sizeof(VirtIOSCSIVring *). > > Signed-off-by: Ming Lei > --- > hw/scsi/virtio-scsi-dataplane.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/scsi/virtio-scsi-dataplane.c b/hw/scsi/virtio-scsi-dataplane.c > in

[Qemu-devel] [PATCH 1/2] virtio-scsi-dataplane: fix allocation for 'cmd_vrings'

2014-11-09 Thread Ming Lei
The size of each element should be sizeof(VirtIOSCSIVring *). Signed-off-by: Ming Lei --- hw/scsi/virtio-scsi-dataplane.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/scsi/virtio-scsi-dataplane.c b/hw/scsi/virtio-scsi-dataplane.c index 855439e..8a7cd9f 100644 --- a/h