From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzoYz-000245-QC for qemu-devel@nongnu.org; Fri, 10 Aug 2012 08:43:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SzoYx-0005JC-CM for qemu-devel@nongnu.org; Fri, 10 Aug 2012 08:43:37 -0400 Received: from mail.profihost.ag ([85.158.179.208]:42735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzoYx-0005Ir-2D for qemu-devel@nongnu.org; Fri, 10 Aug 2012 08:43:35 -0400 Message-ID: <502501F4.1000803@profihost.ag> Date: Fri, 10 Aug 2012 14:43:32 +0200 From: Stefan Priebe - Profihost AG MIME-Version: 1.0 References: <502283FA.2080506@profihost.ag> <5022912B.2000607@redhat.com> <50235527.4090804@profihost.ag> <50236059.7060801@redhat.com> <4A799203-5BFF-4DE9-9B85-459096EBEC22@profihost.ag> <50236484.2090702@redhat.com> <502369C7.7000300@profihost.ag> <50238E2A.1050203@profihost.ag> <5024D2E7.40700@profihost.ag> <5024E06A.4070603@redhat.com> <5024E232.5020706@profihost.ag> <5024E2CB.2050208@redhat.com> <5024F73E.2060609@profihost.ag> <5024FB17.7060706@profihost.ag> <50250017.9070000@profihost.ag> <50250114.9010704@redhat.com> In-Reply-To: <50250114.9010704@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] virtio-scsi vs. virtio-blk List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Stefan Hajnoczi , qemu-devel , ronnie sahlberg Hi Paolo, Am 10.08.2012 14:39, schrieb Paolo Bonzini: > Il 10/08/2012 14:35, Stefan Priebe - Profihost AG ha scritto: >>> >>> One way to activate passthough is via scsi-generic: >>> Example: >>> -device lsi -device scsi-generic,drive=MyISCSI \ >>> -drive file=iscsi://10.1.1.125/iqn.ronnie.test/1,if=none,id=MyI >> >> When i do this the guest system always uses the sym53c8xx kernel module. >> This results in 70 iops instead of 30000 iops. Is this really correct >> that it uses the very old sym53c8xx kernel module for this device? >> >> used start command: >> http://pastebin.com/raw.php?i=23fkaQgc > > Just replace lsi with virtio-scsi-pci again. Also, using scsi-block > instead of scsi-generic should have better performance, but I'm not sure > Ronnie tested it with libiscsi. I tried this earlier but this results in: kvm: -device scsi-block,drive=drive-scsi0: scsi-block: INQUIRY failed kvm: -device scsi-block,drive=drive-scsi0: Device 'scsi-block' could not be initialized Greets, Stefan