]> 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)
commitab160768fb6540073c9f3d450640c874ba284d1d
tree527c2f5179730e9763b6d1a7e969383e907205a0
parenta65969cd387b46adb91324b03339482dc43b47f0
tcm_vhost: Add hotplug/hotunplug support

In commit 6abd44ccead ([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