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

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 I don't know what's the best way to retain it. So please review if
and how this could be improved.

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       |  2 ++
 hw/scsi/scsi-bus.c         | 64 +++++++++++++++++------------------
 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 |  4 +--
 10 files changed, 125 insertions(+), 114 deletions(-)

-- 
2.0.3

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

end of thread, other threads:[~2014-08-11  8:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-05  9:11 [Qemu-devel] [PATCH 0/2] scsi: Change device init to realize Fam Zheng
2014-08-05  9:11 ` [Qemu-devel] [PATCH 1/2] block: Pass errp in blkconf_geometry Fam Zheng
2014-08-05  9:11 ` [Qemu-devel] [PATCH 2/2] scsi-bus: Convert DeviceClass init to realize Fam Zheng
2014-08-05 11:33   ` Fam Zheng
2014-08-07 14:25   ` Kevin Wolf
2014-08-11  8:38     ` Fam Zheng
2014-08-05 11:23 ` [Qemu-devel] [PATCH 0/2] scsi: Change device " Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.