Fam Zheng 2034e324da virtio-scsi: Fix assert in virtio_scsi_push_event
Hotplugging a scsi-disk may trigger the assertion in qemu_sgl_concat.

    qemu-system-x86_64: qemu/hw/scsi/virtio-scsi.c:115: qemu_sgl_concat:
    Assertion `skip == 0' failed.

This is introduced by commit 55783a55 (virtio-scsi: work around bug in
old BIOSes) which didn't check out_num when accessing out_sg[0].iov_len
(the same to in sg). For virtio_scsi_push_event, looking into out_sg
doesn't make sense because 0 req_size is intended.

Cc: qemu-stable@nongnu.org
[Cc'ing qemu-stable because 55783a55 did it too]
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <1426233354-525-1-git-send-email-famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-03-18 12:07:27 +01:00
2015-03-04 13:00:36 -05:00
2013-04-18 13:50:53 +02:00
2015-02-06 16:11:38 +00:00
2015-03-16 13:29:12 +05:30
2015-03-09 09:14:28 +00:00
2015-03-17 14:50:44 +01:00
2015-03-13 14:03:31 +00:00
2012-09-07 09:02:44 +03:00
2014-06-16 13:24:35 +02:00
2013-09-05 09:40:31 -05:00
2015-02-23 10:56:09 -05:00
2015-03-16 12:10:30 -04:00
2015-03-08 06:43:32 +00:00
2013-10-11 09:34:56 -07:00
2015-03-17 11:10:48 +01:00
2015-02-16 17:30:19 +01:00
2015-03-12 09:13:07 +00:00
2013-07-23 02:41:31 +02:00
2015-03-17 17:11:33 +00:00
2015-03-17 14:31:15 +01:00
2015-03-12 09:13:07 +00:00
2015-02-05 17:16:14 +01:00
2015-02-16 15:07:19 +00:00
2014-05-24 00:07:29 +04:00
2015-03-16 14:31:07 +01:00
2015-03-10 11:33:35 +01:00
2013-10-11 09:34:56 -07:00
2015-01-14 10:38:57 +01:00
2015-02-12 21:21:38 -08:00
2015-03-10 09:26:22 +01:00
2015-03-17 18:58:33 +00:00
2013-10-11 09:34:56 -07:00
2015-03-12 15:49:57 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
A fork of QEMU-Nyx which is better suited for my bachelors thesis
Readme 154 MiB
Languages
C 90.3%
Dylan 2.5%
Python 2.1%
C++ 2%
Shell 1.7%
Other 1.4%