[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] virtio-blk: add SGI_IO passthru support

From: Anthony Liguori
Subject: [Qemu-devel] Re: [PATCH] virtio-blk: add SGI_IO passthru support
Date: Mon, 27 Apr 2009 09:36:51 -0500
User-agent: Thunderbird (X11/20090320)

Christoph Hellwig wrote:
[had the qemu list address wrong the first time, reply to this message,
 not the previous if you were on Cc]

Add support for SG_IO passthru (packet commands) to the virtio-blk
backend.  Conceptually based on an older patch from Hannes Reinecke
but largely rewritten to match the code structure and layering in

Note that currently we issue the hose SG_IO synchronously.  We could
easily switch to async I/O, but that would required either bloating
the VirtIOBlockReq by the size of struct sg_io_hdr or an additional
memory allocation for each SG_IO request.

Signed-off-by: Christoph Hellwig <address@hidden>

So practically speaking, what can you do with this? Should we be handling some SCSI cmds internally to QEMU (like eject operations) and supporting media=cdrom in -drive for if=virtio?

On a related topic, should we switch /dev/vdX to be /dev/sdX?


Anthony Liguori

reply via email to

[Prev in Thread] Current Thread [Next in Thread]