qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/2] scsi: Change device init to realize
@ 2014-08-12  2:12 Fam Zheng
  2014-08-12  2:12 ` [Qemu-devel] [PATCH v4 1/2] block: Pass errp in blkconf_geometry Fam Zheng
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Fam Zheng @ 2014-08-12  2:12 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, pbonzini, armbru, stefanha, afaerber

v4: Add Andreas' and Stefan's rev-by for patch 1.
    Retain the error message in patch 2.

DeviceClass->init is the old interface, let's convert scsi devices to the new
->realize API.

A user visible change is the error message shown in qemu-iotests reference
output, but only redundant error messages dropped.

Fam


Fam Zheng (2):
  block: Pass errp in blkconf_geometry
  scsi-bus: Convert DeviceClass init to realize

 hw/block/block.c           | 18 +++++-----
 hw/block/virtio-blk.c      |  7 ++--
 hw/ide/qdev.c              | 11 ++++--
 hw/scsi/lsi53c895a.c       |  1 +
 hw/scsi/scsi-bus.c         | 70 +++++++++++++++++++-------------------
 hw/scsi/scsi-disk.c        | 83 +++++++++++++++++++++++++---------------------
 hw/scsi/scsi-generic.c     | 37 ++++++++++-----------
 include/hw/block/block.h   |  6 ++--
 include/hw/scsi/scsi.h     |  7 ++--
 tests/qemu-iotests/051.out |  2 --
 10 files changed, 127 insertions(+), 115 deletions(-)

-- 
2.0.3

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

end of thread, other threads:[~2014-08-18 15:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-12  2:12 [Qemu-devel] [PATCH v4 0/2] scsi: Change device init to realize Fam Zheng
2014-08-12  2:12 ` [Qemu-devel] [PATCH v4 1/2] block: Pass errp in blkconf_geometry Fam Zheng
2014-08-12  2:12 ` [Qemu-devel] [PATCH v4 2/2] scsi-bus: Convert DeviceClass init to realize Fam Zheng
2014-08-12  9:31   ` Stefan Hajnoczi
2014-08-18 15:41 ` [Qemu-devel] [PATCH v4 0/2] scsi: Change device " Paolo Bonzini

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