mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-26 22:25:12 -07:00
vhost-user-scsi: move host_features into VHostSCSICommon
In preparation for having vhost-scsi also make use of host_features, move it from struct VHostUserSCSI into struct VHostSCSICommon. Signed-off-by: Greg Edwards <gedwards@ddn.com> Message-Id: <20180808195235.5843-2-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>
This commit is contained in:
parent
f2a4ad6d49
commit
eb5757fcbe
3 changed files with 9 additions and 8 deletions
|
|
@ -35,6 +35,7 @@ typedef struct VHostSCSICommon {
|
|||
int channel;
|
||||
int target;
|
||||
int lun;
|
||||
uint64_t host_features;
|
||||
} VHostSCSICommon;
|
||||
|
||||
int vhost_scsi_common_start(VHostSCSICommon *vsc);
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@
|
|||
|
||||
typedef struct VHostUserSCSI {
|
||||
VHostSCSICommon parent_obj;
|
||||
uint64_t host_features;
|
||||
VhostUserState *vhost_user;
|
||||
} VHostUserSCSI;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue