[libvirt] [PATCH 4/6] storage: scsi: Fix build if SCSI backend is disabled but iSCSI is enabled

John Ferlan jferlan at redhat.com
Wed Jan 18 15:57:40 UTC 2017



On 01/18/2017 06:36 AM, Peter Krempa wrote:
> The iSCSI backend driver was using stuff from the SCSI driver without
> making sure that it's compiled in. Move the common code into the
> storage_util.c since it does not contain any specific code.
> ---
>  src/storage/storage_backend_iscsi.c |   1 -
>  src/storage/storage_backend_scsi.c  | 447 -----------------------------------
>  src/storage/storage_backend_scsi.h  |   4 -
>  src/storage/storage_util.c          | 449 ++++++++++++++++++++++++++++++++++++
>  src/storage/storage_util.h          |   3 +
>  5 files changed, 452 insertions(+), 452 deletions(-)
> 

Conceptually OK, but since patch 2 won't apply for me - I cannot apply
this one. It seems to be fairly faithful move of code, although the
order may change slightly which is no big deal

John




More information about the libvir-list mailing list