From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaLa4-0004an-QA for qemu-devel@nongnu.org; Tue, 24 Mar 2015 05:57:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YaLa1-0006ht-9a for qemu-devel@nongnu.org; Tue, 24 Mar 2015 05:57:04 -0400 Received: from cantor2.suse.de ([195.135.220.15]:58407 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaLa1-0006hP-3T for qemu-devel@nongnu.org; Tue, 24 Mar 2015 05:57:01 -0400 Message-ID: <551134EA.9060709@suse.com> Date: Tue, 24 Mar 2015 10:56:58 +0100 From: Juergen Gross MIME-Version: 1.0 References: <65CAB7E596FE214B93BF3EDF3D66036C11F341F747@tesla3.axcient.inc> <20150323124818.GD9268@stefanha-thinkpad.redhat.com> <65CAB7E596FE214B93BF3EDF3D66036C1382DFA9BC@tesla3.axcient.inc> In-Reply-To: <65CAB7E596FE214B93BF3EDF3D66036C1382DFA9BC@tesla3.axcient.inc> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Xen-devel] Question about scsi emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Yaoli Zheng , Stefano Stabellini , Stefan Hajnoczi Cc: "qemu-devel@nongnu.org" , "xen-devel@lists.xen.org" On 03/24/2015 01:20 AM, Yaoli Zheng wrote: > Thank you for the advice! > It will be grateful if someone can provide any guide how to config MegaSAS HBA or how to use xen pvscsi in XEN. > There seems no option in XEN for these two driver emulation and no document found online. The pvscsi driver is rather new in the Linux kernel. Support for pvscsi in Xen tools (xl) is just being worked on: http://lists.xen.org/archives/html/xen-devel/2015-03/msg00030.html Juergen > > Thanks! > > -----Original Message----- > From: Stefano Stabellini [mailto:stefano.stabellini@eu.citrix.com] > Sent: Monday, March 23, 2015 11:18 AM > To: Stefan Hajnoczi > Cc: Yaoli Zheng; qemu-devel@nongnu.org; xen-devel@lists.xen.org > Subject: Re: [Xen-devel] [Qemu-devel] Question about scsi emulation > > On Mon, 23 Mar 2015, Stefan Hajnoczi wrote: >> On Wed, Mar 18, 2015 at 02:16:47PM -0700, Yaoli Zheng wrote: >>> We have problem using qemu emulated scsi driver(the old lsi). Wonder if any of other device model we can try for emulating scsi, and how we can get and config it in Xen? Having been told virtio-scsi is alternative one, but have no idea how to get it work in Xen. >> >> The MegaSAS HBA might be another option. Not sure whether MegaSAS or >> virtio-scsi are supported under Xen though. > > Making MegaSAS HBA work on Xen should be easy. > > Rather than virtio-scsi I would consider the new Xen pvscsi frontend/backend drivers, now upstream in Linux (drivers/scsi/xen-scsifront.c and drivers/xen/xen-scsiback.c). Usually Xen PV drivers perform much better than virtio devices on Xen. > > That said, probably most things would be better than the old lsi. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juergen Gross Subject: Re: [Qemu-devel] Question about scsi emulation Date: Tue, 24 Mar 2015 10:56:58 +0100 Message-ID: <551134EA.9060709@suse.com> References: <65CAB7E596FE214B93BF3EDF3D66036C11F341F747@tesla3.axcient.inc> <20150323124818.GD9268@stefanha-thinkpad.redhat.com> <65CAB7E596FE214B93BF3EDF3D66036C1382DFA9BC@tesla3.axcient.inc> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <65CAB7E596FE214B93BF3EDF3D66036C1382DFA9BC@tesla3.axcient.inc> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Yaoli Zheng , Stefano Stabellini , Stefan Hajnoczi Cc: "qemu-devel@nongnu.org" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On 03/24/2015 01:20 AM, Yaoli Zheng wrote: > Thank you for the advice! > It will be grateful if someone can provide any guide how to config MegaSAS HBA or how to use xen pvscsi in XEN. > There seems no option in XEN for these two driver emulation and no document found online. The pvscsi driver is rather new in the Linux kernel. Support for pvscsi in Xen tools (xl) is just being worked on: http://lists.xen.org/archives/html/xen-devel/2015-03/msg00030.html Juergen > > Thanks! > > -----Original Message----- > From: Stefano Stabellini [mailto:stefano.stabellini@eu.citrix.com] > Sent: Monday, March 23, 2015 11:18 AM > To: Stefan Hajnoczi > Cc: Yaoli Zheng; qemu-devel@nongnu.org; xen-devel@lists.xen.org > Subject: Re: [Xen-devel] [Qemu-devel] Question about scsi emulation > > On Mon, 23 Mar 2015, Stefan Hajnoczi wrote: >> On Wed, Mar 18, 2015 at 02:16:47PM -0700, Yaoli Zheng wrote: >>> We have problem using qemu emulated scsi driver(the old lsi). Wonder if any of other device model we can try for emulating scsi, and how we can get and config it in Xen? Having been told virtio-scsi is alternative one, but have no idea how to get it work in Xen. >> >> The MegaSAS HBA might be another option. Not sure whether MegaSAS or >> virtio-scsi are supported under Xen though. > > Making MegaSAS HBA work on Xen should be easy. > > Rather than virtio-scsi I would consider the new Xen pvscsi frontend/backend drivers, now upstream in Linux (drivers/scsi/xen-scsifront.c and drivers/xen/xen-scsiback.c). Usually Xen PV drivers perform much better than virtio devices on Xen. > > That said, probably most things would be better than the old lsi. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel >