commit | 3dac48d4a6875a107fb2febd5cefc3ff1a0e33d8 | [log] [tgz] |
---|---|---|
author | Prasad Joshi <prasadjoshi124@gmail.com> | Sat Apr 16 20:40:25 2011 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Mon Jun 01 16:39:42 2015 +0100 |
tree | 7f6d63f6279cb923d4ec1c914861bada695d3991 | |
parent | 4c0205d09acf6f8702a002475f517d5e5a64ebd8 [diff] |
kvm tools: check the cluster boundary in the qcow read code The QCOW1 code should always read the data in cluster size. A new function qcow1_read_cluster() is added to read a cluster wort of data. The current function to read the data i.e. qcow1_read_sector is modified to use this newly added function and preserve the cluster boundary. Signed-off-by: Prasad Joshi <prasadjoshi124@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>