]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] virtio-scsi: hotplug support for virtio-scsi
authorCong Meng <mc@linux.vnet.ibm.com>
Thu, 5 Jul 2012 09:06:43 +0000 (17:06 +0800)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 20 Jul 2012 07:58:58 +0000 (08:58 +0100)
commit365a7150094114a0f8ef0b6164e6b04b519039e8
treedbe3630391256c1771de226d4d74d2ce5ab50ab6
parent2bd37f0fde99cbf8b78fb55f1128e8c3a63cf1da
[SCSI] virtio-scsi: hotplug support for virtio-scsi

This patch implements the hotplug support for virtio-scsi.
When there is a device attached/detached, the virtio-scsi driver will be
signaled via event virtual queue and it will add/remove the scsi device
in question automatically.

Signed-off-by: Sen Wang <senwang@linux.vnet.ibm.com>
Signed-off-by: Cong Meng <mc@linux.vnet.ibm.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/virtio_scsi.c
include/linux/virtio_scsi.h