From owner-soc-status@FreeBSD.ORG Mon Apr 15 17:38:03 2013 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3C40C6BB for ; Mon, 15 Apr 2013 17:38:03 +0000 (UTC) (envelope-from gibbs@freebsd.org) Received: from aslan.scsiguy.com (ns1.scsiguy.com [70.89.174.89]) by mx1.freebsd.org (Postfix) with ESMTP id E0D52106D for ; Mon, 15 Apr 2013 17:38:02 +0000 (UTC) Received: from [192.168.6.102] (207-225-98-3.dia.static.qwest.net [207.225.98.3]) (authenticated bits=0) by aslan.scsiguy.com (8.14.5/8.14.5) with ESMTP id r3FHc0Yd020479 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 15 Apr 2013 11:38:00 -0600 (MDT) (envelope-from gibbs@freebsd.org) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: =?utf-8?Q?Re=3A_Mentor_of_the_Project_=22PCI_frontend_XEN_PV_dri?= =?utf-8?Q?ver=22=EF=BC=9F?= From: "Justin T. Gibbs" In-Reply-To: Date: Mon, 15 Apr 2013 11:37:55 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <7AB96913-9118-4298-B183-A3D5EBC6F209@freebsd.org> References: <920A79FE-8C56-4D26-8611-3CD48602FC3B@freebsd.org> To: Bei Guan X-Mailer: Apple Mail (2.1503) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (aslan.scsiguy.com [70.89.174.89]); Mon, 15 Apr 2013 11:38:00 -0600 (MDT) Cc: soc-status X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Apr 2013 17:38:03 -0000 On Apr 12, 2013, at 3:02 AM, Bei Guan wrote: > Thank you for your reply.=20 >=20 > I think it's also a good project for me to write a SCSI or USB PV = frontend for FreeBSD. I'm interest in Xen and have done some development = about Xen PV and HVM, but I didn't do any development on FreeBSD. As to = this project, where should I start? Is there any other similar FreeBSD = project I can refer to? Front-end drivers for network, block, and control already exist and = should serve as a good starting point for the creation of another PV = driver. I've also updated the ideas page to include more information about our = existing XEN implementation and what will be required for these = projects. > In order to write a SCSI or USB PV driver, do we need the Xen PV = drivers in FreeBSD, such as event channel, hypercalls, xenbus, and so = on? Yes, FreeBSD already has support for all XenBus APIs needed to write = these drivers. See "sys/xen" and "sys/dev/xen" in the FreeBSD kernel = source tree. > You said the "drivers can be developed using an HVM guest", can you = give me more information about it? Typically, you install FreeBSD using standard install media as a full = HVM guest on a system running Xen. Then compile a custom kernel using = the XENHVM config file in order to activate the existing PV drivers. -- Justin