On Wed 01 Feb 2017 10:56:29 PM CET, Max Reitz <mre...@redhat.com> wrote:
>> I was actually just reading virtio_blk_handle_request() and I see >> that the I/O vector is initialized before the check for the maximum >> request size that returns VIRTIO_BLK_S_IOERR. >> >> So you're probably right and it's safer not to add that assertion. > > So... Apply patch 1 and hope we do everything right in the future? :-) I think patch 1 is definitely necessary and enough to solve the crash that I reported. Tomorrow I'll think about what to do in place of the second one :-) Berto