[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH] virtio-blk: add SGI_IO passthru support
From: |
Christoph Hellwig |
Subject: |
Re: [Qemu-devel] Re: [PATCH] virtio-blk: add SGI_IO passthru support |
Date: |
Tue, 28 Apr 2009 11:51:54 +0200 |
User-agent: |
Mutt/1.3.28i |
On Mon, Apr 27, 2009 at 09:36:51AM -0500, Anthony Liguori wrote:
> So practically speaking, what can you do with this?
It's interesting if your underlying device is a real scsi disk and you
want virtio for efficiency but also allow to issue scsi commands on
the underlying device, e.g. for finding out more information about
the underlying setup using the sg_* tools or for certain manual
multipathing setups, or for upgrading firmware or..
> Should we be
> handling some SCSI cmds internally to QEMU (like eject operations) and
> supporting media=cdrom in -drive for if=virtio?
Not quite yet. Eventually I want to support a virtio-scsi kind of
transport which would use the same virtio-blk protocol but only send
scsi commands. We'd need a different driver on the Linux side for
it that registers to the scsi layer. On the QEMU side it could either
do pass-through to a real scsi device using SG_IO or use the existing
command scsi emulator in scsi-disk.c.
> On a related topic, should we switch /dev/vdX to be /dev/sdX?
We can't and don't want for the current virtio-blk driver. Once we
implement a virtio-scsi driver in the guest disk will show up as
/dev/sdX.
- [Qemu-devel] [PATCH] virtio-blk: add SGI_IO passthru support, Christoph Hellwig, 2009/04/27
- Re: [Qemu-devel] [PATCH] virtio-blk: add SGI_IO passthru support, Avi Kivity, 2009/04/27
- [Qemu-devel] Re: [PATCH] virtio-blk: add SGI_IO passthru support, Anthony Liguori, 2009/04/27
- Re: [Qemu-devel] Re: [PATCH] virtio-blk: add SGI_IO passthru support,
Christoph Hellwig <=
- Re: [Qemu-devel] Re: [PATCH] virtio-blk: add SGI_IO passthru support, Anthony Liguori, 2009/04/28
- Re: [Qemu-devel] Re: [PATCH] virtio-blk: add SGI_IO passthru support, Christian Borntraeger, 2009/04/28
- Re: [Qemu-devel] Re: [PATCH] virtio-blk: add SGI_IO passthru support, Christoph Hellwig, 2009/04/29
- Re: [Qemu-devel] Re: [PATCH] virtio-blk: add SGI_IO passthru support, Paul Brook, 2009/04/29
- Re: [Qemu-devel] Re: [PATCH] virtio-blk: add SGI_IO passthru support, Christian Borntraeger, 2009/04/29
- Re: [Qemu-devel] Re: [PATCH] virtio-blk: add SGI_IO passthru support, Paul Brook, 2009/04/29
- Re: [Qemu-devel] Re: [PATCH] virtio-blk: add SGI_IO passthru support, Christoph Hellwig, 2009/04/29
- Re: [Qemu-devel] Re: [PATCH] virtio-blk: add SGI_IO passthru support, Paul Brook, 2009/04/29
- Re: [Qemu-devel] Re: [PATCH] virtio-blk: add SGI_IO passthru support, Christoph Hellwig, 2009/04/30
- Re: [Qemu-devel] Re: [PATCH] virtio-blk: add SGI_IO passthru support, Paul Brook, 2009/04/30