[Top][All Lists]

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

Re: [Qemu-devel] [sneak preview] major scsi overhaul

From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [sneak preview] major scsi overhaul
Date: Wed, 25 Nov 2009 17:37:10 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4

On 11/24/09 14:51, Paul Brook wrote:
On Tuesday 24 November 2009, Gerd Hoffmann wrote:
On 11/16/09 19:53, Paul Brook wrote:
Capping the amount of memory required for a transfer *is* implemented, in
both LSI and virtio-blk.  The exception being SCSI passthrough where the
kernel API makes it impossible.

Well.  Figured while doing more testing:  The allowed request size is
limited by the kernel, so scsi-generic requests larger than (currently)
128k fail.

Now, how to handle *that*?  Is there some way to signal to the guest
that the request was to big?

Same as real hardware.  Probably also want to populate the Block Limits VPD
page appropriately

Some experiements later.

Linux reads the block limits vpd, but seems to ignore the hard limit.

Answering large requests with "Illegal request, Invalid field in CDB" doesn't makes linux try smaller requests, instead it reports I/O errors to the syslog.


netbsd and winxp don't try large requests in the first place (they do 64k max). Other guests not tried yet.


reply via email to

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