From: Jes Sorensen <jes.soren...@redhat.com> Hi,
These two patches tries to clean up the qcow2 code a little. First makes the function names consistent, ie. we shouldn't have qcow_ functions in the qcow2 code. Second tries to add proper errno return values to qcow2_open(). New in v2: Fix the bdrv_pread() handling as pointed out by Kevin. Fix error messages, and restore a couple of cases to their unreadable formatting to avoid formatting changes not directly related to the qcow_->qcow2_ rename. Jes Jes Sorensen (2): block/qcow2.c: rename qcow_ functions to qcow2_ Add proper -errno error return values to qcow2_open() block/qcow2-cluster.c | 6 +- block/qcow2-snapshot.c | 6 +- block/qcow2.c | 248 +++++++++++++++++++++++++++--------------------- 3 files changed, 145 insertions(+), 115 deletions(-) -- 1.7.3.3