diff options
author | Gonglei <arei.gonglei@huawei.com> | 2015-01-29 15:08:53 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-02-11 21:47:51 +0100 |
commit | 1956cf6fa1039647327ef333dc09b43775907305 (patch) | |
tree | e29d42058f78954e2636c025228a42d8118641fb /include/hw/virtio | |
parent | d4433f32116dc597f895e62cde3572b400c3ee96 (diff) |
vhost-scsi: expose the TYPE_FW_PATH_PROVIDER interface
In the way, we can make the bootindex property take effect.
At the meanwhile, the firmware path name of vhost-scsi is
"channel@channel/vhost-scsi@target,lun".
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/virtio')
-rw-r--r-- | include/hw/virtio/vhost-scsi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/virtio/vhost-scsi.h b/include/hw/virtio/vhost-scsi.h index ed50289b77..c0056c2378 100644 --- a/include/hw/virtio/vhost-scsi.h +++ b/include/hw/virtio/vhost-scsi.h @@ -61,6 +61,9 @@ typedef struct VHostSCSI { struct vhost_dev dev; int32_t bootindex; + int channel; + int target; + int lun; } VHostSCSI; #define DEFINE_VHOST_SCSI_PROPERTIES(_state, _conf_field) \ |