diff options
| author | Peter Maydell | 2014-05-22 16:27:46 +0200 |
|---|---|---|
| committer | Peter Maydell | 2014-05-22 16:27:46 +0200 |
| commit | 65903a8b0807dbe2983910060f5754d27762faed (patch) | |
| tree | 150f41181a390d3d14c48c68b6ded8b3389442a9 /block | |
| parent | Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (diff) | |
| parent | megasas: remove buildtime strings (diff) | |
| download | qemu-65903a8b0807dbe2983910060f5754d27762faed.tar.gz qemu-65903a8b0807dbe2983910060f5754d27762faed.tar.xz qemu-65903a8b0807dbe2983910060f5754d27762faed.zip | |
Merge remote-tracking branch 'remotes/bonzini/scsi-next' into staging
* remotes/bonzini/scsi-next:
megasas: remove buildtime strings
block: iscsi build fix if LIBISCSI_FEATURE_IOVECTOR is not defined
virtio-scsi: Plug memory leak on virtio_scsi_push_event() error path
scsi: Document intentional fall through in scsi_req_length()
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'block')
| -rw-r--r-- | block/iscsi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/block/iscsi.c b/block/iscsi.c index d649424e5c..3892cc551e 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -381,6 +381,7 @@ retry: } +#if defined(LIBISCSI_FEATURE_IOVECTOR) static bool iscsi_allocationmap_is_allocated(IscsiLun *iscsilun, int64_t sector_num, int nb_sectors) { @@ -393,9 +394,6 @@ static bool iscsi_allocationmap_is_allocated(IscsiLun *iscsilun, sector_num / iscsilun->cluster_sectors) == size); } - -#if defined(LIBISCSI_FEATURE_IOVECTOR) - static int64_t coroutine_fn iscsi_co_get_block_status(BlockDriverState *bs, int64_t sector_num, int nb_sectors, int *pnum) |
