vhost-scsi: set the bootable value of channel/target/lun
commit444c7e0d92b5eb35fb85dc654f4bd991b0d3a0f2
authorGonglei <arei.gonglei@huawei.com>
Thu, 29 Jan 2015 07:08:55 +0000 (29 15:08 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 11 Feb 2015 20:47:52 +0000 (11 21:47 +0100)
tree3dfa1d792da38574260775497ac95bcbf06ccce3
parent9143d5f0f14c1eef92a362b3b976606ad2874daa
vhost-scsi: set the bootable value of channel/target/lun

At present, the target is valued boot_tpgt, In addition,
channel and lun both are 0 for bootable vhost-scsi device.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Bo Su <subo7@huawei.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/vhost-scsi.c