From owner-soc-status@FreeBSD.ORG Sat Aug 17 12:47:53 2013 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 06993EA1; Sat, 17 Aug 2013 12:47:53 +0000 (UTC) (envelope-from gbtju85@gmail.com) Received: from mail-bk0-x22c.google.com (mail-bk0-x22c.google.com [IPv6:2a00:1450:4008:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 64DE92675; Sat, 17 Aug 2013 12:47:52 +0000 (UTC) Received: by mail-bk0-f44.google.com with SMTP id mz10so932830bkb.17 for ; Sat, 17 Aug 2013 05:47:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=rX4jhndzy6cgxsdnW4dv90EKBUqIbEKH/2tT96twz+o=; b=aSjNqFOGwYTfbFNQ+jlBskyzJ8koiPeagtEqYaZeMSN/CAYC//tbExtdvu1+bozw6T 7A0K2N2y7GQl7Iop2Ou9+6tPHLi+5XDcHEEJl9RUZTzDsVA664TRoUz5HmM+ety2Ka2W 9SC3dHLjnqcihKJBRH3ebaYMTiYTvV5exQ5ekZDFWJKCIXstXnt++uowZnqslkGKMsq4 dJ03bA15wxGVhFCro7m91q6a+ELxHTKFlti9jFyRk2gHe/sJ9MSfu9xskXz5NHVj36Wr IwaMK0lBs0I+9QkqvS53BmDnTJmuVTcxJNFZ3pDZhJoqJivg+sl84IqS5t4VAkouO9aR uLLA== MIME-Version: 1.0 X-Received: by 10.204.55.70 with SMTP id t6mr1749271bkg.7.1376743670445; Sat, 17 Aug 2013 05:47:50 -0700 (PDT) Received: by 10.205.18.69 with HTTP; Sat, 17 Aug 2013 05:47:50 -0700 (PDT) Date: Sat, 17 Aug 2013 20:47:50 +0800 Message-ID: Subject: Weekly Status Reports #7 & #8 - XEN HVM Guest Support From: Bei Guan To: soc-status Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "Justin T. Gibbs" 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: Sat, 17 Aug 2013 12:47:53 -0000 In the past two weeks, the progress of the Xen PV USB driver is: 1. Add the PV USB Hub to FreeBSD HVM guest. According to the Linux Xen USB front driver, the PV USB Hub descriptor is set. Now, uhub1 is attached. The output of "devinfo" is like this: ... uhci0 usbus0 uhub0 vgapci0 xenpci0 xenstore0 xctrl0 xenbusb_front0 xbd0 xn0 xu0 *usbus1* *uhub1* xenbusb_back0 ... 2. Set the shared ring and event channel for Xen PV USB driver. The xenstore entry for Xen FreeBSD is like this: #xenstore-ls 5 = "" vm = "/vm/1b002ded-b759-700c-60fe-5731a0716c7a" device = "" ... vusb = "" 0 = "" state = "4" backend-id = "0" backend = "/local/domain/0/backend/vusb/5/0" urb-ring-ref = "772" conn-ring-ref = "771" event-channel = "9" ... Next, it will need to set the USB request and reply for PV driver. -- Best Regards, Bei Guan