From owner-freebsd-virtualization@freebsd.org Sun Dec 20 04:58:24 2015 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 D9ACCA4D254 for ; Sun, 20 Dec 2015 04:58:24 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (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 AE0C11A31 for ; Sun, 20 Dec 2015 04:58:24 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: by mail-ig0-x22a.google.com with SMTP id to18so17066829igc.0 for ; Sat, 19 Dec 2015 20:58:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ara-ler-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=z0zjNKOhRJxqlw8RkbxuSmwD2blry7FgKVyuyf6aIFA=; b=Shk0HpVBV1iTWB0EmR8eGtHYH36BFc2CdRgKu/Q3XV399Pe9Y/xPGjN0n2nhhjCih1 aftt9xcVzXSz7A8jMrmd+N1oDy9zUf9RT8dnFidjUqdzdko/EfnE/WpAfXmkRb5Tnljw y7OAN2MfYPHldMub6dx3SiLCOhh5F79sUSGupCqc3n8CE8lJF4OENoLRm2mL6qoUJJKt hvec7Qf4OcVvlgB7y/neB56lF1KvhTJrHWcJhmfMqbH5HfIydb8sMPqtb6/l3GEkPDW6 RgtDPn8kzdMb0EYKZNeQQFyNBGpbl85bZgXk1LKmz6fAZDs4hmr0nueTKwzWYQm1PVXs w/Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=z0zjNKOhRJxqlw8RkbxuSmwD2blry7FgKVyuyf6aIFA=; b=G7xxs3o+dhHpJkXOdwOgO77bWBYgolLaGj6T02E4rx3eXTF0MEoYVw48psqKzAaL73 2fqIjDgrHZb1ilFGFuhSowIHxM5jdXpt+Pbl0mTp42y/FQwKoSSYplQTbe26gv335Vvi uqwyj9MlEdSdEpnLkuZIQXnMCIdKLUMFfmadtM296jbx7Hn1xFKxiiYm03mwB/d57ZTr Hi+yNRkSsL4iy9TbjoZdX5uTAX2hPUHQiITFu0RybBJEAmUBAZt5tED4A2JBND8WAXy5 BdhnEkPOcHt5CAvrbdSe8DpVNz7vcaCya9BgDPBvrySeo4bOO6ry1TJEIs9uE431mNzl IC4w== X-Gm-Message-State: ALoCoQnK1Lpnh99PAP91wE1JHFoxnjmOyMGln/wPeUGB+rjptLKUiB1uoyliTNWpB5ihJfH81WeJYdoVAfO0FkTfX/A06ARv2Q== X-Received: by 10.50.50.228 with SMTP id f4mr11678074igo.6.1450587504120; Sat, 19 Dec 2015 20:58:24 -0800 (PST) Received: from dendrobates.araler.com (70-59-19-232.hlrn.qwest.net. [70.59.19.232]) by smtp.gmail.com with ESMTPSA id p5sm5728920igj.10.2015.12.19.20.58.23 for (version=TLSv1/SSLv3 cipher=OTHER); Sat, 19 Dec 2015 20:58:23 -0800 (PST) Date: Sat, 19 Dec 2015 21:58:21 -0700 From: Sergey Manucharian To: FreeBSD virtualization Subject: bhyve PCI pass-through to Linux guest Message-ID: <20151220045821.GG22018@dendrobates.araler.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Sun, 20 Dec 2015 04:58:24 -0000 Hello, I have a working Linux guest in bhyve (Debian). Trying to pass through a PCI device (USB controller) by adding a couple of options: # bhyve -S ... -s 7,passthru,0/20/0 ... That causes bhyve termination right away with error: Unable to setup memory (17) Exactly the same option with passing the same USB controller to Windows 2012 guest works perfectly. The only difference (by my understanding) is that I load UEFI for Windows and use grub-bhyve for Linux. What should I check? Thanks, Sergey