num + in_num consecutive elements of the sg[]
array.
I have tested the patch on my workstation. QEMU would not crash any more.
Cc: # 3.4: 4fe74b1: [SCSI] virtio-scsi: SCSI driver
Signed-off-by: Wang Sen
---
drivers/scsi/virtio_scsi.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
+ in_num consecutive elements of the sg[]
array.
I have tested the patch on my workstation. QEMU would not crash any more.
Cc: sta...@vger.kernel.org # 3.4: 4fe74b1: [SCSI] virtio-scsi: SCSI driver
Signed-off-by: Wang Sen senw...@linux.vnet.ibm.com
---
drivers/scsi/virtio_scsi.c |2 +-
1 file
2012/7/25 Boaz Harrosh :
> On 07/25/2012 02:44 PM, Sen Wang wrote:
>
>> 2012/7/25 Paolo Bonzini :
>>> Il 25/07/2012 10:29, Wang Sen ha scritto:
>>>> When using the commands below to write some data to a virtio-scsi LUN of
>>>> the
>>>>
2012/7/25 Ben Hutchings :
> On Wed, 2012-07-25 at 20:13 +0800, Wang Sen wrote:
>> When using the commands below to write some data to a virtio-scsi LUN of the
>> QEMU guest(32-bit) with 1G physical memory(qemu -m 1024), the qemu will
>> crash.
>>
>> # s
2012/7/25 Ben Hutchings b...@decadent.org.uk:
On Wed, 2012-07-25 at 20:13 +0800, Wang Sen wrote:
When using the commands below to write some data to a virtio-scsi LUN of the
QEMU guest(32-bit) with 1G physical memory(qemu -m 1024), the qemu will
crash.
# sudo mkfs.ext4 /dev/sdb
2012/7/25 Boaz Harrosh bharr...@panasas.com:
On 07/25/2012 02:44 PM, Sen Wang wrote:
2012/7/25 Paolo Bonzini pbonz...@redhat.com:
Il 25/07/2012 10:29, Wang Sen ha scritto:
When using the commands below to write some data to a virtio-scsi LUN of
the
QEMU guest(32-bit) with 1G physical
EMU exit when virtqueue_map_sg is called
in QEMU because an invalid GPA is passed by virtqueue.
I take Paolo's solution mentioned in last thread to avoid failure on handling
flag bits.
I have tested the patch on my workstation. QEMU would not crash any more.
Signed-off-by: Wang Sen
---
drivers/s
xit when virtqueue_map_sg is called
in QEMU because an invalid GPA is passed by virtqueue.
My solution is using sg_set_page instead of sg_set_buf.
I have tested the patch on my workstation. QEMU would not crash any more.
Signed-off-by: Wang Sen
---
drivers/scsi/virtio_scsi.c |3 ++-
1 f
when virtqueue_map_sg is called
in QEMU because an invalid GPA is passed by virtqueue.
My solution is using sg_set_page instead of sg_set_buf.
I have tested the patch on my workstation. QEMU would not crash any more.
Signed-off-by: Wang Sen senw...@linux.vnet.ibm.com
---
drivers/scsi/virtio_scsi.c
exit when virtqueue_map_sg is called
in QEMU because an invalid GPA is passed by virtqueue.
I take Paolo's solution mentioned in last thread to avoid failure on handling
flag bits.
I have tested the patch on my workstation. QEMU would not crash any more.
Signed-off-by: Wang Sen senw
10 matches
Mail list logo