From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N2pDO-00043P-DR for qemu-devel@nongnu.org; Tue, 27 Oct 2009 12:48:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N2pDJ-000410-Oc for qemu-devel@nongnu.org; Tue, 27 Oct 2009 12:48:09 -0400 Received: from [199.232.76.173] (port=35657 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N2pDJ-00040w-KX for qemu-devel@nongnu.org; Tue, 27 Oct 2009 12:48:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61145) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N2pDJ-000440-5N for qemu-devel@nongnu.org; Tue, 27 Oct 2009 12:48:05 -0400 Message-ID: <4AE72419.60608@redhat.com> Date: Tue, 27 Oct 2009 17:47:21 +0100 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 0/4] megaraid_sas HBA emulation References: <4AE71116.6080809@suse.de> In-Reply-To: <4AE71116.6080809@suse.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hannes Reinecke Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org Hi, > The device can be accessed by > > -drive if=raid,file=XXX Don't extend that qemu automagic please. The new way to handle this is: -drive if=none,id=mydisk,file=/path/to/some/disk.img -device megasas,id=raid -device scsi-disk,bus=raid.0,scsi-id=1,drive=mydisk > In order to support SCSI command emulation I had to update / > patch up the existing SCSI disk support. This might be > not to everyones taste, so I'm open to alternative > suggestions. > > But I certainly do _not_ want to update the SCSI disk > emulation, as this is really quite tied to the SCSI parallel > interface used by the old lsi53c895a.c. --verbose please. I'd prefer to fix scsi-disk bugs and/or limitations instead of working around them. > Plus it doesn't do scatter-gather list handling, Which should be fixed anyway. cheers, Gerd