]> git.baikalelectronics.ru Git - kernel.git/commit
tcm_vhost: Add hotplug/hotunplug support
authorAsias He <asias@redhat.com>
Thu, 25 Apr 2013 07:35:21 +0000 (15:35 +0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 25 Apr 2013 08:06:41 +0000 (01:06 -0700)
commit6ed3154da387e07618abb0275617bc7abf722f87
tree527c2f5179730e9763b6d1a7e969383e907205a0
parent8f3f10d897f8ec136042db574aa714b3376172e6
tcm_vhost: Add hotplug/hotunplug support

In commit e5f11fa5237 ([SCSI] virtio-scsi: hotplug support for
virtio-scsi), hotplug support is added to virtio-scsi.

This patch adds hotplug and hotunplug support to tcm_vhost.

You can create or delete a LUN in targetcli to hotplug or hotunplug a
LUN in guest.

Signed-off-by: Asias He <asias@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/vhost/tcm_vhost.c
drivers/vhost/tcm_vhost.h