qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/17] blockdev-add QMP command
@ 2013-09-20 11:54 Kevin Wolf
  2013-09-20 11:54 ` [Qemu-devel] [PATCH 01/17] qapi-types/visit.py: Pass whole expr dict for structs Kevin Wolf
                   ` (16 more replies)
  0 siblings, 17 replies; 56+ messages in thread
From: Kevin Wolf @ 2013-09-20 11:54 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, armbru, stefanha, mreitz

This series adds a blockdev-add QMP command and a row of cleanup patches to
separate legacy -drive/drive_add behaviour from blockdev_init() to the wrapper
function drive_init().

Kevin Wolf (17):
  qapi-types/visit.py: Pass whole expr dict for structs
  qapi-types/visit.py: Inheritance for structs
  blockdev: Introduce DriveInfo.enable_auto_del
  blockdev: 'blockdev-add' QMP command
  blockdev: Separate ID generation from DriveInfo creation
  blockdev: Pass QDict to blockdev_init()
  blockdev: Move parsing of 'media' option to drive_init
  blockdev: Move parsing of 'if' option to drive_init
  blockdev: Moving parsing of geometry options to drive_init
  blockdev: Move parsing of 'boot' option to drive_init
  blockdev: Move bus/unit/index processing to drive_init
  blockdev: Move virtio-blk device creation to drive_init
  blockdev: Remove IF_* check for read-only blockdev_init
  qemu-iotests: Check autodel behaviour for device_del
  blockdev: Remove 'media' parameter from blockdev_init()
  blockdev: Don't disable COR automatically with blockdev-add
  blockdev: blockdev_init() error conversion

 block.c                          |   9 +-
 blockdev.c                       | 664 +++++++++++++++++++++++----------------
 docs/qapi-code-gen.txt           |  17 +
 hw/block/m25p80.c                |   5 +
 hw/block/xen_disk.c              |   6 +
 hw/sd/milkymist-memcard.c        |   4 +
 hw/sd/omap_mmc.c                 |   8 +
 hw/sd/pl181.c                    |   4 +
 hw/sd/pxa2xx_mmci.c              |   4 +
 hw/sd/sd.c                       |   5 +
 hw/sd/sdhci.c                    |   4 +
 hw/sd/ssi-sd.c                   |   3 +
 include/qemu/option.h            |   1 +
 include/sysemu/blockdev.h        |   1 +
 qapi-schema.json                 | 270 ++++++++++++++++
 qmp-commands.hx                  |  59 ++++
 scripts/qapi-types.py            |  15 +-
 scripts/qapi-visit.py            |  26 +-
 tests/qemu-iotests/051.out       |   5 +-
 tests/qemu-iotests/064           | 133 ++++++++
 tests/qemu-iotests/064.out       |  80 +++++
 tests/qemu-iotests/common.filter |   8 +
 tests/qemu-iotests/group         |   1 +
 util/qemu-option.c               |   6 +
 24 files changed, 1050 insertions(+), 288 deletions(-)
 create mode 100755 tests/qemu-iotests/064
 create mode 100644 tests/qemu-iotests/064.out

-- 
1.8.1.4

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

end of thread, other threads:[~2013-09-30  5:25 UTC | newest]

Thread overview: 56+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-20 11:54 [Qemu-devel] [PATCH 00/17] blockdev-add QMP command Kevin Wolf
2013-09-20 11:54 ` [Qemu-devel] [PATCH 01/17] qapi-types/visit.py: Pass whole expr dict for structs Kevin Wolf
2013-09-20 13:32   ` Max Reitz
2013-09-20 14:51   ` Eric Blake
2013-09-20 11:54 ` [Qemu-devel] [PATCH 02/17] qapi-types/visit.py: Inheritance " Kevin Wolf
2013-09-20 13:33   ` Max Reitz
2013-09-20 14:19     ` Kevin Wolf
2013-09-20 14:58   ` Eric Blake
2013-09-20 11:54 ` [Qemu-devel] [PATCH 03/17] blockdev: Introduce DriveInfo.enable_auto_del Kevin Wolf
2013-09-20 15:03   ` Eric Blake
2013-09-20 15:12     ` Kevin Wolf
2013-09-20 15:25       ` Eric Blake
2013-09-30  5:05   ` Wenchao Xia
2013-09-20 11:54 ` [Qemu-devel] [PATCH 04/17] blockdev: 'blockdev-add' QMP command Kevin Wolf
2013-09-20 13:34   ` Max Reitz
2013-09-20 14:57     ` Kevin Wolf
2013-09-20 14:01   ` Benoît Canet
2013-09-24 10:41     ` Paolo Bonzini
2013-09-24 11:10       ` Kevin Wolf
2013-09-20 15:22   ` Eric Blake
2013-09-20 15:34     ` Kevin Wolf
2013-09-24  5:18   ` Fam Zheng
2013-09-24  8:01     ` Kevin Wolf
2013-09-24 10:39   ` Paolo Bonzini
2013-09-20 11:54 ` [Qemu-devel] [PATCH 05/17] blockdev: Separate ID generation from DriveInfo creation Kevin Wolf
2013-09-23  9:01   ` Max Reitz
2013-09-23 15:45   ` Eric Blake
2013-09-30  5:24   ` Wenchao Xia
2013-09-20 11:54 ` [Qemu-devel] [PATCH 06/17] blockdev: Pass QDict to blockdev_init() Kevin Wolf
2013-09-20 14:11   ` Benoît Canet
2013-09-25  6:25   ` Fam Zheng
2013-09-20 11:54 ` [Qemu-devel] [PATCH 07/17] blockdev: Move parsing of 'media' option to drive_init Kevin Wolf
2013-09-20 14:28   ` Benoît Canet
2013-09-20 11:54 ` [Qemu-devel] [PATCH 08/17] blockdev: Move parsing of 'if' " Kevin Wolf
2013-09-20 14:47   ` Max Reitz
2013-09-20 15:04     ` Kevin Wolf
2013-09-20 14:50   ` Benoît Canet
2013-09-20 11:54 ` [Qemu-devel] [PATCH 09/17] blockdev: Moving parsing of geometry options " Kevin Wolf
2013-09-20 15:04   ` Benoît Canet
2013-09-20 11:54 ` [Qemu-devel] [PATCH 10/17] blockdev: Move parsing of 'boot' option " Kevin Wolf
2013-09-20 15:05   ` Benoît Canet
2013-09-20 11:54 ` [Qemu-devel] [PATCH 11/17] blockdev: Move bus/unit/index processing " Kevin Wolf
2013-09-23  9:03   ` Max Reitz
2013-09-20 11:54 ` [Qemu-devel] [PATCH 12/17] blockdev: Move virtio-blk device creation " Kevin Wolf
2013-09-23  9:04   ` Max Reitz
2013-09-20 11:54 ` [Qemu-devel] [PATCH 13/17] blockdev: Remove IF_* check for read-only blockdev_init Kevin Wolf
2013-09-23  8:00   ` Max Reitz
2013-09-23  8:08     ` Kevin Wolf
2013-09-20 11:54 ` [Qemu-devel] [PATCH 14/17] qemu-iotests: Check autodel behaviour for device_del Kevin Wolf
2013-09-23  9:06   ` Max Reitz
2013-09-20 11:54 ` [Qemu-devel] [PATCH 15/17] blockdev: Remove 'media' parameter from blockdev_init() Kevin Wolf
2013-09-23  9:06   ` Max Reitz
2013-09-20 11:54 ` [Qemu-devel] [PATCH 16/17] blockdev: Don't disable COR automatically with blockdev-add Kevin Wolf
2013-09-23  9:07   ` Max Reitz
2013-09-20 11:54 ` [Qemu-devel] [PATCH 17/17] blockdev: blockdev_init() error conversion Kevin Wolf
2013-09-23  9:08   ` Max Reitz

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