From: Gonglei <arei.gong...@huawei.com>

Qemu haven't provide a bootindex property for vhost-scsi device.
So, we can not assign the boot order for it at present. But
Some clients/users have requirements for that in some scenarios.
This patch achieve the aim in Qemu side.

TODO:
- Post a patch to vhost-scsi driver module to realize get target id
  for bootable vhost-scsi device.

Gonglei (4):
  qdev: support to get a device firmware path directly
  vhost-scsi: add bootindex property
  vhost-scsi: realize the TYPE_FW_PATH_PROVIDER interface
  vhost-scsi: add an ioctl interface to get target id

 hw/core/qdev.c                 | 14 +++++++++
 hw/scsi/vhost-scsi.c           | 68 ++++++++++++++++++++++++++++++++++++++++++
 hw/virtio/virtio-pci.c         |  2 ++
 include/hw/virtio/vhost-scsi.h |  5 ++++
 4 files changed, 89 insertions(+)

-- 
1.7.12.4



Reply via email to