qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH V2 0/5] qapi and snapshot code clean up in block layer
@ 2013-05-23  8:47 Wenchao Xia
  2013-05-23  8:47 ` [Qemu-devel] [PATCH V2 1/5] block: drop bs_snapshots global variable Wenchao Xia
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Wenchao Xia @ 2013-05-23  8:47 UTC (permalink / raw)
  To: qemu-devel
  Cc: kwolf, phrdina, stefanha, armbru, lcapitulino, pbonzini,
	Wenchao Xia

These patches are the common part of my hmp/qmp block query series and Pavel's
qmp snapshot command converion series. It mainly does following things:
1 move snapshot related code to block/snapshot.c, qmp and info dumping code to
block/qapi.c.
2 better info dumping function to get rid of buffer, avoid string truncation.

Stefan Hajnoczi (1):
  1 block: drop bs_snapshots global variable

v2:
  Squash code moving patches since they are reviewed in v1.
  Drop bdrv_snapshot_find() function change patch, since it related to snapshot
logic which should be changed together with Pavel's serial.
  Use a parameter in message_printf() to tell where to print, instead of use
global variable "cur_mon" inside.

Wenchao Xia (4):
  2 block: move snapshot code in block.c to block/snapshot.c
  3 block: move qmp and info dump related code to block/qapi.c
  4 util: add new function message_printf()
  5 block: dump to specified output for bdrv_snapshot_dump() and bdrv_image_info_dump()

 block.c                     |  318 -------------------------------------
 block/Makefile.objs         |    1 +
 block/qapi.c                |  365 +++++++++++++++++++++++++++++++++++++++++++
 block/snapshot.c            |  162 +++++++++++++++++++
 include/block/block.h       |   29 +----
 include/block/block_int.h   |    1 +
 include/block/qapi.h        |   42 +++++
 include/block/snapshot.h    |   54 +++++++
 include/qemu/error-report.h |   13 ++
 qemu-img.c                  |  169 ++-------------------
 savevm.c                    |   44 +++---
 util/qemu-error.c           |   28 +++-
 12 files changed, 697 insertions(+), 529 deletions(-)
 create mode 100644 block/qapi.c
 create mode 100644 block/snapshot.c
 create mode 100644 include/block/qapi.h
 create mode 100644 include/block/snapshot.h

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

end of thread, other threads:[~2013-05-24 11:46 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-23  8:47 [Qemu-devel] [PATCH V2 0/5] qapi and snapshot code clean up in block layer Wenchao Xia
2013-05-23  8:47 ` [Qemu-devel] [PATCH V2 1/5] block: drop bs_snapshots global variable Wenchao Xia
2013-05-23  8:47 ` [Qemu-devel] [PATCH V2 2/5] block: move snapshot code in block.c to block/snapshot.c Wenchao Xia
2013-05-24 11:35   ` Stefan Hajnoczi
2013-05-23  8:47 ` [Qemu-devel] [PATCH V2 3/5] block: move qmp and info dump related code to block/qapi.c Wenchao Xia
2013-05-23  8:47 ` [Qemu-devel] [PATCH V2 4/5] util: add new function message_printf() Wenchao Xia
2013-05-23 15:05   ` Eric Blake
2013-05-24  1:41     ` Wenchao Xia
2013-05-23 17:14   ` Luiz Capitulino
2013-05-24 11:45   ` Stefan Hajnoczi
2013-05-23  8:47 ` [Qemu-devel] [PATCH V2 5/5] block: dump to specified output for bdrv_snapshot_dump() and bdrv_image_info_dump() Wenchao Xia
2013-05-23 15:31   ` Eric Blake
2013-05-24  1:48     ` Wenchao Xia
2013-05-24  2:31       ` Wenchao Xia

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).