From owner-soc-status@FreeBSD.ORG Sun Jun 30 13:24:33 2013 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CEFD9EC8 for ; Sun, 30 Jun 2013 13:24:33 +0000 (UTC) (envelope-from syuu@dokukino.com) Received: from mail-pd0-x231.google.com (mail-pd0-x231.google.com [IPv6:2607:f8b0:400e:c02::231]) by mx1.freebsd.org (Postfix) with ESMTP id AB65A1E8B for ; Sun, 30 Jun 2013 13:24:33 +0000 (UTC) Received: by mail-pd0-f177.google.com with SMTP id p10so1957143pdj.22 for ; Sun, 30 Jun 2013 06:24:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dokukino.com; s=google; h=mime-version:from:date:message-id:subject:to:content-type; bh=tSFZFKlqPyzClqL1LHVjnujXPDveEyj0ZNjSIOqyP0I=; b=xc0k0+41yCwPs/0a+Z7v+NytmLBJ2CLNM8wOOtPqiQpSDwUVzU8SCYag5Mwntul1b+ PeRk0aFgTCthCDTEHs1NIUTQeKVoNMrAlATWksf10weSedS8o22LtQPkwvJD6Gls8zse kWqOIpyiKk8B2znjaUrGipLgNvu4O6CVHDAKM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :x-gm-message-state; bh=tSFZFKlqPyzClqL1LHVjnujXPDveEyj0ZNjSIOqyP0I=; b=oMNv37tz+7MTck5E15KrmClRG7u2Fj9FCfySPA96NdyRDwJlmuFQtxmgwKhW3U8xet eRhp6xSIFsUQUu/sFuOUuskthaDvz78sjMvkyGjBSMw+x6aGcZ1n0xw30Tfw5EpNTmlx cmtIIyZxhuPGOHXXTsSYUk9b8kS9XFp3sYv39TF8mRd3Dgu84oKaMZ7s0iob6oCPuHj3 UsGcLjryM3scAdQr09YIJqrxYBoY1v0bH4b0Is7Tr6JxRYlMDBZcD18+R5HdK3ALBkl3 e3JdNv2G88It79JofxxjNZyxhu+oQ3SyRJfd2loc6rLH3NLwFUWiXjMDOR35XCTM2e/A x4sQ== X-Received: by 10.66.144.170 with SMTP id sn10mr19665586pab.42.1372598673440; Sun, 30 Jun 2013 06:24:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.222.34 with HTTP; Sun, 30 Jun 2013 06:23:53 -0700 (PDT) From: Takuya ASADA Date: Sun, 30 Jun 2013 22:23:53 +0900 Message-ID: Subject: [status report #2] USB device passthrough support on BHyVe To: "soc-status@freebsd.org" X-Gm-Message-State: ALoCoQnrYh6UqQeOViXsriHmu2J4SbkPYpP5uDucZGkIXBCIbN4cyzboPrZSkoGPEIofpdTmsWk+ Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Sun, 30 Jun 2013 13:24:33 -0000 [project summary] The project goal is to support USB 1.1/2.0 device passthrough on BHyVe. [weekly status] - Add PCI device registration code for BHyVe. - Implemented PCI configuration space initializer. - Tested PCI configuration space code with guest FreeBSD, it could detect UHCI as ICH9. command: bhyve -c 1 -m 128 -AI -H -P -s 0:0,hostbridge -s 1:0,hcd-uhci -s 2:0,virtio-blk,diskdev -S 31,uart,stdio guest1 output: uhci0: port 0x2000-0x201f at device 1.0 on pci0 uhci0: Could not allocate irq device_attach: uhci0 attach returned 6