qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] qcow2 cleanups
@ 2010-12-16 16:05 Jes.Sorensen
  2010-12-16 16:05 ` [Qemu-devel] [PATCH 1/2] block/qcow2.c: rename qcow_ functions to qcow2_ Jes.Sorensen
  2010-12-16 16:05 ` [Qemu-devel] [PATCH 2/2] Add proper -errno error return values to qcow2_open() Jes.Sorensen
  0 siblings, 2 replies; 8+ messages in thread
From: Jes.Sorensen @ 2010-12-16 16:05 UTC (permalink / raw)
  To: kwolf; +Cc: qemu-devel

From: Jes Sorensen <Jes.Sorensen@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().

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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [Qemu-devel] [PATCH v2 0/2] qcow2 cleanups
@ 2010-12-17 15:02 Jes.Sorensen
  2010-12-17 15:02 ` [Qemu-devel] [PATCH 2/2] Add proper -errno error return values to qcow2_open() Jes.Sorensen
  0 siblings, 1 reply; 8+ messages in thread
From: Jes.Sorensen @ 2010-12-17 15:02 UTC (permalink / raw)
  To: kwolf; +Cc: qemu-devel

From: Jes Sorensen <Jes.Sorensen@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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-12-17 15:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-16 16:05 [Qemu-devel] [PATCH 0/2] qcow2 cleanups Jes.Sorensen
2010-12-16 16:05 ` [Qemu-devel] [PATCH 1/2] block/qcow2.c: rename qcow_ functions to qcow2_ Jes.Sorensen
2010-12-17 14:20   ` [Qemu-devel] " Kevin Wolf
2010-12-17 14:37     ` Jes Sorensen
2010-12-16 16:05 ` [Qemu-devel] [PATCH 2/2] Add proper -errno error return values to qcow2_open() Jes.Sorensen
2010-12-17 14:27   ` [Qemu-devel] " Kevin Wolf
2010-12-17 14:47     ` Jes Sorensen
  -- strict thread matches above, loose matches on Subject: below --
2010-12-17 15:02 [Qemu-devel] [PATCH v2 0/2] qcow2 cleanups Jes.Sorensen
2010-12-17 15:02 ` [Qemu-devel] [PATCH 2/2] Add proper -errno error return values to qcow2_open() Jes.Sorensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).