From owner-freebsd-virtualization@FreeBSD.ORG Thu Apr 9 20:43:16 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 02012D78 for ; Thu, 9 Apr 2015 20:43:16 +0000 (UTC) Received: from mail-vn0-x22e.google.com (mail-vn0-x22e.google.com [IPv6:2607:f8b0:400c:c0f::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF28D898 for ; Thu, 9 Apr 2015 20:43:15 +0000 (UTC) Received: by vnbg1 with SMTP id g1so22108531vnb.2 for ; Thu, 09 Apr 2015 13:43:14 -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:content-type; bh=friNfvRfGvLt+56sD29WRaRmOZA1c4FSQl3j7Dvy1Ug=; b=AF0Cdqs1b6fxhnELVQxOPehHrplBIlnVp/EPaSKlQOUq6NK5jUraBPZFbtsAVG+RRa ZfwnKEzLU21PXVfTxJH8EigdRIiWw2vjFfxZYTAfAR8VxXdAjPKzOUKhvusd/hkDmh3c 17Oeemdq8EK+LSvMqRq4YCmn/tqcQSbnBQATvsVEJZMLpUwtbSgnp4J3l1NQ/s6nJfAx febfIH/ux8GogqLRITwomFxwQftsJBW0HfUYubBg8uBr4hFa/m/FNQF8r+fI5mq+8JXz pQGTrYBtGCRt7Q1owxjdzrTZOpycYcCv5WzUH4ImPlWRFbUqBxGuDu4LOReOb3jxVkCK DAlg== MIME-Version: 1.0 X-Received: by 10.140.98.245 with SMTP id o108mr35020275qge.36.1428612194908; Thu, 09 Apr 2015 13:43:14 -0700 (PDT) Received: by 10.140.175.11 with HTTP; Thu, 9 Apr 2015 13:43:14 -0700 (PDT) Date: Thu, 9 Apr 2015 21:43:14 +0100 Message-ID: Subject: Problem hiding USB host controller From: "Luis P. Mendes" To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 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: Thu, 09 Apr 2015 20:43:16 -0000 Hi, I'm trying to passthrough a USB host controller (2.0 or 3.0) but there seems to be some kind of problem. # uname -a FreeBSD leao 10.1-STABLE FreeBSD 10.1-STABLE #0 r279201: Mon Feb 23 18:55:46 UTC 2015 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 VT-d is enabled in bios. CPU is a Intel Xeon E3-1246v3 Haswell # cat /boot/loader.conf # load radeon firmware not presented pptdevs="0/26/0 1/0/0 0/20/0" blackhole_load="YES" # pciconf -lv # only relevant ehci0@pci0:0:26:0: class=0x0c0320 card=0x8c2d1849 chip=0x8c2d8086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = 'Lynx Point USB Enhanced Host Controller' class = serial bus subclass = USB xhci0@pci0:0:20:0: class=0x0c0330 card=0x8c311849 chip=0x8c318086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = 'Lynx Point USB xHCI Host Controller' class = serial bus subclass = USB ppt0@pci0:1:0:0: class=0x010601 card=0x91721849 chip=0x91721b4b rev=0x11 hdr=0x00 Only the 1:0:0 disk controler is hidden. The two USB controllers, one ehci and one xhci are not. Why don't the controllers get hidden? Is the blackhole_load="YES" still relevant? I tried with and without that line to no avail. Is my STABLE version too old? Luis PS. Keep up the excellent work bringing