From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=50144 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTGKn-0006bT-IT for qemu-devel@nongnu.org; Thu, 16 Dec 2010 11:05:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTGKm-00039f-89 for qemu-devel@nongnu.org; Thu, 16 Dec 2010 11:05:37 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTGKl-00039I-V3 for qemu-devel@nongnu.org; Thu, 16 Dec 2010 11:05:36 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oBGG5Yim002583 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 16 Dec 2010 11:05:34 -0500 From: Jes.Sorensen@redhat.com Date: Thu, 16 Dec 2010 17:05:30 +0100 Message-Id: <1292515532-24198-1-git-send-email-Jes.Sorensen@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] qcow2 cleanups List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kwolf@redhat.com Cc: qemu-devel@nongnu.org From: Jes Sorensen 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(). 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 | 269 +++++++++++++++++++++++++++--------------------- 3 files changed, 158 insertions(+), 123 deletions(-) -- 1.7.3.3