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.
>>
>> # sudo
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
>>>> QEMU
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
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
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
---
driv
5 matches
Mail list logo