diff options
author | KONRAD Frederic <fred.konrad@greensocs.com> | 2013-03-21 15:15:11 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-03-26 09:26:34 -0500 |
commit | 394e2e4c59294f2c5da58d2970693667218c7cf3 (patch) | |
tree | 4d04661a4af6a1828af41e9c42110503e194a9be /hw/virtio-scsi.h | |
parent | 2fd1a053e3696738d7499733df0feb1efd0d97e0 (diff) |
virtio-scsi: don't use pointer for configuration.
The configuration field must not be a pointer as it will be used for virtio-scsi
properties. So *conf is replaced by conf.
Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Message-id: 1363875320-7985-2-git-send-email-fred.konrad@greensocs.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/virtio-scsi.h')
-rw-r--r-- | hw/virtio-scsi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio-scsi.h b/hw/virtio-scsi.h index ccf1e4207c..6a0a95e07b 100644 --- a/hw/virtio-scsi.h +++ b/hw/virtio-scsi.h @@ -35,7 +35,7 @@ struct VirtIOSCSIConf { typedef struct VirtIOSCSI { VirtIODevice vdev; DeviceState *qdev; - VirtIOSCSIConf *conf; + VirtIOSCSIConf conf; SCSIBus bus; uint32_t sense_size; |