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 still just preliminaries.
This patch series is based on v2 of my previous series. git://repo.or.cz/qemu/armbru.git tag block-fixes-2-v1: this series, based on tag block-fixes-v2: previous series, based on tag blockdev-base, which is on branch origin/master There will be at least one more round of cleanup & fixes before blockdev_add proper. I intend to start with a minimal QMP-only version, then add features. Markus Armbruster (11): blockdev: Clean up how readonly persists across virtual media change block migration: Fix test for read-only drive raw-posix: Don't "try harder" for BDRV_TYPE_CDROM scsi: Reject unimplemented error actions fdc: Reject unimplemented error actions qdev: Don't hw_error() in qdev_init_nofail() ide: Improve error messages ide: Replace IDEState members is_cdrom, is_cf by drive_kind ide: Make ide_init_drive() return success ide: Reject readonly drives unless CD-ROM ide: Reject invalid CHS geometry block-migration.c | 2 +- block/raw-posix.c | 26 ++---------------- blockdev.c | 2 +- hw/fdc.c | 22 +++++++++++---- hw/ide/core.c | 70 +++++++++++++++++++++++++++++++++----------------- hw/ide/internal.h | 9 +++--- hw/ide/macio.c | 2 +- hw/ide/microdrive.c | 2 +- hw/ide/qdev.c | 13 ++++++--- hw/qdev.c | 6 +++- hw/scsi-disk.c | 5 +++ hw/scsi-generic.c | 9 ++++++ 12 files changed, 100 insertions(+), 68 deletions(-)