From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hannes Reinecke Subject: Re: [RFC] [PATCH] SCSI passthrough for virtio-blk Date: Fri, 29 Aug 2008 13:47:34 +0200 Message-ID: <48B7E1D6.4020500@suse.de> References: <48B7C159.5010800@suse.de> <200808291301.44242.borntraeger@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: virtualization@lists.linux-foundation.org, kvm@vger.kernel.org To: Christian Borntraeger Return-path: Received: from cantor2.suse.de ([195.135.220.15]:36702 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754158AbYH2Lri (ORCPT ); Fri, 29 Aug 2008 07:47:38 -0400 In-Reply-To: <200808291301.44242.borntraeger@de.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: Hi Christian, Christian Borntraeger wrote: > Am Freitag, 29. August 2008 schrieb Hannes Reinecke: >> So when using '-drive file=3D/dev/sgXX,if=3Dvirtio,format=3Dhost_dev= ice' you >> can happily call any sg_XX command on the resulting vdX device. Quit= e >> neat, methinks. And it's even backwards compatible, so each of these >> patches should work without the other one applied. >=20 > Does not work here. If the host does not support the pass-through, th= e device=20 > drivers waits for an response. I tried sdparm /dev/vda with a patche= d kernel=20 > and an unpatched userspace. >=20 Hmm. Works here, using an unpatched kvm-73. Which version did you use? Cheers, Hannes --=20 Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg GF: Markus Rex, HRB 16746 (AG N=FCrnberg)