]> git.proxmox.com Git - mirror_qemu.git/commit
vhost-scsi: unify vhost-scsi get_features implementations
authorGreg Edwards <gedwards@ddn.com>
Wed, 8 Aug 2018 19:52:34 +0000 (13:52 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Aug 2018 16:46:25 +0000 (18:46 +0200)
commitb1110d833c74c09c90c26235aed1b7eb5e85910a
treef92a1c770c8dd9ef9bc80ca30f8757fe43490275
parenteb5757fcbe149a3ea20bc9987d3147efe7e3866a
vhost-scsi: unify vhost-scsi get_features implementations

Move the enablement of preset host features into the common
vhost_scsi_common_get_features() function.  This is in preparation for
having vhost-scsi also make use of host_features.

Signed-off-by: Greg Edwards <gedwards@ddn.com>
Message-Id: <20180808195235.5843-3-gedwards@ddn.com>
Reviewed-by: Felipe Franciosi <felipe@nutanix.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/vhost-scsi-common.c
hw/scsi/vhost-user-scsi.c