Peter Lieven 095e4fa4b5 block: limited request size in write zeroes unsupported path
If bs->bl.max_write_zeroes is large and we end up in the unsupported
path we might allocate a lot of memory for the iovector and/or even
generate an oversized requests.

Fix this by limiting the request by the minimum of the reported
maximum transfer size or 16MB (32768 sectors).

Reported-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Peter Lieven <pl@kamp.de>
Reviewed-by: Denis V. Lunev <den@openvz.org>
Message-id: 1420457389-16332-1-git-send-email-pl@kamp.de
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-01-13 13:43:29 +00:00
2015-01-12 10:14:04 +01:00
2015-01-12 11:13:24 +00:00
2014-11-14 12:15:40 +01:00
2015-01-13 11:47:56 +00:00
2015-01-07 16:16:26 +01:00
2015-01-10 21:02:23 +00:00
2015-01-12 10:14:04 +01:00
2014-12-10 10:31:12 +01:00
2014-12-12 15:48:26 +00:00
2014-12-11 16:47:23 +00:00
2014-12-22 09:54:51 -07:00
2014-12-09 21:48:34 +00:00
2015-01-08 17:32:27 +00:00

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

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%