Re: [PATCH v4] virtio-scsi: hotplug support for virtio-scsi

From: Stefan Hajnoczi
Date: Thu Jul 12 2012 - 06:37:25 EST


On Thu, Jul 5, 2012 at 10:06 AM, Cong Meng <mc@xxxxxxxxxxxxxxxxxx> 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 <senwang@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Cong Meng <mc@xxxxxxxxxxxxxxxxxx>
> ---
> drivers/scsi/virtio_scsi.c | 127 ++++++++++++++++++++++++++++++++++++++++++-
> include/linux/virtio_scsi.h | 9 +++
> 2 files changed, 135 insertions(+), 1 deletions(-)

Reviewed-by: Stefan Hajnoczi <stefanha@xxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/