On Thu, Jul 5, 2012 at 10:06 AM, Cong Meng [off-list ref] wrote:
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.
v2: handle no_event event
v3: add handle event dropped, and typo fix
v4: Cancel event works when exit. Coding type fix.
Signed-off-by: Sen Wang <redacted>
Signed-off-by: Cong Meng <redacted>
---
drivers/scsi/virtio_scsi.c | 127 ++++++++++++++++++++++++++++++++++++++++++-
include/linux/virtio_scsi.h | 9 +++
2 files changed, 135 insertions(+), 1 deletions(-)
Reviewed-by: Stefan Hajnoczi <redacted>