Re: [PATCH 4/4] kvm tool: check the cluster boundary in the qcow read code.

2011-04-16 Thread Pekka Enberg
On Fri, Apr 15, 2011 at 5:18 PM, Prasad Joshi prasadjoshi...@gmail.com wrote: Add a new function qcow1_read_cluster() to read a qcow cluster size data at a time. The function qcow1_read_sector() is modified to use the function qcow1_read_cluster(). Signed-off-by: Prasad Joshi

Re: [PATCH 4/4] kvm tool: check the cluster boundary in the qcow read code.

2011-04-16 Thread Prasad Joshi
On Sat, Apr 16, 2011 at 10:23 AM, Pekka Enberg penb...@kernel.org wrote: On Fri, Apr 15, 2011 at 5:18 PM, Prasad Joshi prasadjoshi...@gmail.com wrote: Add a new function qcow1_read_cluster() to read a qcow cluster size data at a time. The function qcow1_read_sector() is modified to use the

[PATCH 4/4] kvm tool: check the cluster boundary in the qcow read code.

2011-04-15 Thread Prasad Joshi
Add a new function qcow1_read_cluster() to read a qcow cluster size data at a time. The function qcow1_read_sector() is modified to use the function qcow1_read_cluster(). Signed-off-by: Prasad Joshi prasadjoshi...@gmail.com --- tools/kvm/qcow.c | 123