From owner-freebsd-virtualization@freebsd.org Sun Dec 20 05:18:09 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 1E653A4DDDB for ; Sun, 20 Dec 2015 05:18:09 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id D46901564 for ; Sun, 20 Dec 2015 05:18:07 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 130B92011495 for ; Sun, 20 Dec 2015 15:18:06 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 0D659282026 for ; Sun, 20 Dec 2015 15:18:06 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n2Tp5WYP1taW for ; Sun, 20 Dec 2015 15:18:05 +1000 (AEST) Received: from Peters-MacBook-Pro.local (CPE-60-226-3-158.wrcz1.cha.bigpond.net.au [60.226.3.158]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id CA6A7280F5D; Sun, 20 Dec 2015 15:18:04 +1000 (AEST) Subject: Re: bhyve PCI pass-through to Linux guest To: Sergey Manucharian References: <20151220045821.GG22018@dendrobates.araler.com> <56763672.3090207@freebsd.org> <20151220051015.GH22018@dendrobates.araler.com> Cc: FreeBSD virtualization From: Peter Grehan Message-ID: <56763A0B.8010802@freebsd.org> Date: Sun, 20 Dec 2015 15:18:03 +1000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20151220051015.GH22018@dendrobates.araler.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=B9IZqLZM c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=OIgypsHbAvIw1X5S2PUfDQ==:17 a=3FMX7HLxAAAA:8 a=6I5d2MoRAAAA:8 a=Sv2sojjTAAAA:8 a=N659UExz7-8A:10 a=wUQvQvOEmiQA:10 a=3AddMd3w7Gf1v9KUbYYA:9 a=pILNOxqGKmIA:10 a=2T5gjdO81zMA:10 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 05:18:09 -0000 Hi Sergey, >>> # bhyve -S ... -s 7,passthru,0/20/0 ... >>> >> Make sure you are also passing the '-S' option to grub-bhyve to force >> wiring of memory. > > Sure! I showed it in the command line above. That's the bhyve command line (if that's the one you meant). You also have to pass '-S' when invoking grub-bhyve, since that's when the memory resources are created. later, Peter.