From owner-freebsd-virtualization@freebsd.org Thu Sep 7 06:40:40 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4FF80E0B082 for ; Thu, 7 Sep 2017 06:40:40 +0000 (UTC) (envelope-from khanzf@gmail.com) Received: from mail-pg0-x231.google.com (mail-pg0-x231.google.com [IPv6:2607:f8b0:400e:c05::231]) (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 C9F897CDAB for ; Thu, 7 Sep 2017 06:40:39 +0000 (UTC) (envelope-from khanzf@gmail.com) Received: by mail-pg0-x231.google.com with SMTP id q68so3502315pgq.1 for ; Wed, 06 Sep 2017 23:40:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Qr5OSxuHiSqj95ULtSldnKRHssutGi6YmhSV7nwuaKA=; b=CGTYNtDLGqDokbe7/9Q520HSf0xaEfWAFVzTBw75SlhcPbfeEfbemgVOGn2BZqZ0O7 shLTbwRX6y/b62luhvWE0oD6EC8I9WiBSF07WwxeIrgKNdyiDzhBaHP25+W/PkBYXlvW svj2O1WKqQz/628U/XBV+EEE+njHHyutx77O8NRkT4G+5b0/TfdtAz/FIU23sk0uYa4G I07Fyt3j0YXD1bZeq+YjF3qQfve0IMeRlc2ZomIMur3ZKU8F1Prue6HMu9rQ4JKR96CC TaDFID3yQZhUGRM1en95wMQ54xuCq0K4HR/dO3OPbdbZ2auLi9qa6Bge/acOdQ0VsA3y sszw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Qr5OSxuHiSqj95ULtSldnKRHssutGi6YmhSV7nwuaKA=; b=R0Wbm/s9hbhF3hafO/JlvCXbL/lqWd7aPth9WtZkFyaPTXZG3bMdWKwRmTlSjc9KwX ATuOIB93pRZnAOeZkQUJJybh8ynioGktyDsbb3mWFvyM855VHeYQ4alXb5M6Y8tnP0+c nNVp872hK3Hp9YU9N/Rsk6O0iin6wZ63PaiAflzae8B3XM3HrTXLOzF0md6AxG+bl5sy V+rHb0HN/NKrTybLt5G6SmambzpnEW2hmKJAvDgDqf1+8xn5tliORLPxV3xVKFAG9U81 sgYrdm9DLHsF8UpRncAgadNvj5qKb600yo/Y9D56cnh9EY3CCxBmYamtF7AD8wX9pTgE 7jVA== X-Gm-Message-State: AHPjjUihOHebILZPpKZCHSmmrfhuo/al3U63RvDg2FcBBgA70UPhAfdQ PeOg4SUWPr5qCQFId5emMjW/G8/u5hlaz/uxEbskYlYn X-Google-Smtp-Source: ADKCNb7KelzOTvOFbzsVDqtF8DBHijwp/pt2gFS0ykqVZFoVTN6VnFQX80cXcnMVu5wd9o55usz0knRQLp7rXQSj7GE= X-Received: by 10.84.232.14 with SMTP id h14mr1879576plk.274.1504766438539; Wed, 06 Sep 2017 23:40:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.183.164 with HTTP; Wed, 6 Sep 2017 23:40:18 -0700 (PDT) From: Farhan Khan Date: Thu, 7 Sep 2017 02:40:18 -0400 Message-ID: Subject: bhyve passthrough fails To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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, 07 Sep 2017 06:40:40 -0000 Hi, I am trying to pass an mPCIe device to a guest bhyve VM. I have the device set to use the ppt driver: # devctl set driver pci0:2:0:0 ppt pciconf -lv gives me the following output: ppt0@pci0:2:0:0: class=0x028000 card=0x197d103c chip=0x817910ec rev=0x01 hdr=0x00 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL8188EE Wireless Network Adapter' class = networ But when I start a FreeBSD guest with the vmrun script (sudo sh vmrun.sh -p 2/0/0 -c 2 -m 512M -t tap0 -d freebsd12.img freebsd1), I immediately get this error: bhyve: PCI device at 2/0/0 is not using the ppt(4) driver. I have virtualization set in the BIOS and am not certain what may be causing this issue. Any ideas? Thank you, -- Farhan Khan PGP Fingerprint: 782F 342B 5B08 0D2F F4E8 82C3 FFA1 CAE1 6536 51CA