From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=40020 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJrEC-0007Ml-Tr for qemu-devel@nongnu.org; Wed, 02 Jun 2010 12:56:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJrE4-0005g9-15 for qemu-devel@nongnu.org; Wed, 02 Jun 2010 12:55:36 -0400 Received: from oxygen.pond.sub.org ([213.239.205.148]:35276) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJrE3-0005fO-P7 for qemu-devel@nongnu.org; Wed, 02 Jun 2010 12:55:31 -0400 Received: from blackfin.pond.sub.org (pD9E39C24.dip.t-dialin.net [217.227.156.36]) by oxygen.pond.sub.org (Postfix) with ESMTPA id B8155276D13 for ; Wed, 2 Jun 2010 18:55:29 +0200 (CEST) From: Markus Armbruster Date: Wed, 2 Jun 2010 18:55:16 +0200 Message-Id: <1275497729-13120-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PATCH 00/13] New -blockdev to define a host block device List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, kraxel@redhat.com I'm working on cleanly separating block device host and guest parts. I'd like to route all this work through Kevin's block tree. This is the first part: new option -blockdev. Description of 13/13 lists future work. Series is based on my "Collect block device code in new blockdev.c", as amended in v2 3/3. Markus Armbruster (13): block: Move error actions from DriveInfo to BlockDriverState block: Decouple block device "commit all" from DriveInfo monitor: Make "commit FOO" complain when FOO doesn't exist block: New bdrv_next() block: Decouple savevm from DriveInfo blockdev: Give drives internal linkage blockdev: Means to destroy blockdev only if made with drive_init() qdev: Decouple qdev_prop_drive from DriveInfo blockdev: drive_get_by_id() is no longer used, remove qemu-option: New qemu_opts_reset() qemu-option: New qemu_opt_next(), qemu_opt_name() blockdev: Factor option value parsers out of drive_init() blockdev: New -blockdev to define a host block device block.c | 29 ++++ block.h | 10 ++ block_int.h | 7 +- blockdev.c | 355 +++++++++++++++++++++++++++++++++++++------------- blockdev.h | 22 ++-- hw/fdc.c | 22 ++-- hw/ide/core.c | 16 +- hw/ide/internal.h | 2 +- hw/ide/qdev.c | 8 +- hw/pci-hotplug.c | 4 +- hw/qdev-properties.c | 39 +++++- hw/qdev.h | 6 +- hw/s390-virtio.c | 2 +- hw/scsi-bus.c | 8 +- hw/scsi-disk.c | 18 ++-- hw/scsi-generic.c | 5 +- hw/scsi.h | 2 +- hw/usb-msd.c | 10 +- hw/virtio-blk.c | 5 +- hw/virtio-pci.c | 12 +-- qemu-char.c | 7 +- qemu-config.c | 38 ++++++ qemu-config.h | 1 + qemu-option.c | 22 +++ qemu-option.h | 5 + qemu-options.hx | 49 +++++++ savevm.c | 32 ++--- vl.c | 29 ++++- 28 files changed, 557 insertions(+), 208 deletions(-)