qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 0/2] scsi: Change device init to realize


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v4 0/2] scsi: Change device init to realize
Date: Mon, 18 Aug 2014 17:41:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0

Il 12/08/2014 04:12, Fam Zheng ha scritto:
> 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(-)
> 

Thanks, applying this to scsi-next.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]