Peter Lieven 75af1f34cd block: introduce BDRV_REQUEST_MAX_SECTORS
we check and adjust request sizes at several places with
sometimes inconsistent checks or default values:
 INT_MAX
 INT_MAX >> BDRV_SECTOR_BITS
 UINT_MAX >> BDRV_SECTOR_BITS
 SIZE_MAX >> BDRV_SECTOR_BITS

This patches introdocues a macro for the maximal allowed sectors
per request and uses it at several places.

Signed-off-by: Peter Lieven <pl@kamp.de>
Reviewed-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2015-02-06 17:24:22 +01:00
2015-02-06 17:24:22 +01:00
2015-02-02 16:55:10 +01:00
2015-01-29 16:45:45 +00:00
2015-02-05 17:16:14 +01:00
2015-02-03 13:42:40 +01:00
2015-02-06 13:46:12 +00:00
2015-02-03 21:37:16 +00:00
2015-02-06 17:24:22 +01:00
2015-02-02 16:55:10 +01:00
2015-02-02 16:55:11 +01:00
2015-01-26 12:27:05 +01:00
2015-02-06 14:35:52 +00:00
2015-02-05 17:16:14 +01:00
2015-02-06 14:35:52 +00:00
2015-02-06 17:24:22 +01:00
2015-02-06 17:24:22 +01:00
2015-02-05 17:16:14 +01:00
2015-02-06 17:24:21 +01: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%