From owner-freebsd-virtualization@FreeBSD.ORG Wed Feb 18 10:02:56 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9A2317A3 for ; Wed, 18 Feb 2015 10:02:56 +0000 (UTC) Received: from mail.h3q.com (mail.h3q.com [213.73.89.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.h3q.com", Issuer "Thawte DV SSL CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2DAF0E30 for ; Wed, 18 Feb 2015 10:02:55 +0000 (UTC) Received: (qmail 35691 invoked from network); 18 Feb 2015 10:02:46 -0000 Received: from mail.h3q.com (HELO mail.h3q.com) (cryx) by mail.h3q.com with ESMTPS (DHE-RSA-CAMELLIA256-SHA encrypted); 18 Feb 2015 10:02:46 -0000 Message-ID: <54E46344.607@h3q.com> Date: Wed, 18 Feb 2015 11:02:44 +0100 From: Philipp Wuensche User-Agent: Postbox 3.0.11 (Macintosh/20140602) MIME-Version: 1.0 To: Neel Natu Subject: Re: bhyve and PCI Passthrough a USB Controller References: <54DC8B98.4090902@h3q.com> <54DD321C.80808@freebsd.org> <54E1CFDE.5050200@h3q.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2015 10:02:56 -0000 Neel Natu wrote: > Hi Philipp, > > On Mon, Feb 16, 2015 at 3:09 AM, Philipp Wuensche wrote: >> Peter Grehan wrote: >>> Would you be willing to try a patch that relaxes that check ? >> Yes! The system isn't in production yet so I can try out stuff. >> > > Can you try this patch? > https://people.freebsd.org/~neel/patches/bhyve_ignore_unsupported_pba.patch Just works! I'm seeing the usb controller from within the VM and I can use it. >From within the VM: xhci0: mem 0xc0004000-0xc0005fff irq 40 at device 7.0 on pci0 xhci0: 64 byte context size. usbus0 on xhci0 ugen0.2: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x4100 umass0:0:0:-1: Attached to scbus0 da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Removable Direct Access SCSI-4 device da0: Serial Number 22110508350000010125 da0: 400.000MB/s transfers da0: 15300MB (31334400 512 byte sectors: 255H 63S/T 1950C) da0: quirks=0x2 xhci0@pci0:0:7:0: class=0x0c0330 card=0x00151912 chip=0x00151912 rev=0x02 hdr=0x00 vendor = 'Renesas Technology Corp.' class = serial bus subclass = USB # usbconfig list ugen0.1: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen0.2: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (224mA) Greetings, Philipp