From owner-freebsd-virtualization@freebsd.org Mon Feb 27 01:18:19 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 1E8CDCEFBF4 for ; Mon, 27 Feb 2017 01:18:19 +0000 (UTC) (envelope-from sem@semmy.ru) Received: from sunner.semmy.ru (sunner.semmy.ru [IPv6:2a00:14d0:0:20::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CB3802DE; Mon, 27 Feb 2017 01:18:18 +0000 (UTC) (envelope-from sem@semmy.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=semmy.ru; s=dkim; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version: Date:Message-ID:From:Cc:References:To:Subject:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=NR1OXetcxtSUEm2gszbn1y0EdEKvnLdvzabnrlBaDFk=; b=QuXBahg3lq2U5/5/L7hB3ax+XU tjpo1U0JBVCEC4p3jGG0ND/shHChSdePSELAmUNPXjw37nLf01Z/NZS/Ia3rAXzVsAy8oZ81xKMEp V0yN3hj1SVJDKIrJgnOr03ou+Jyikz9Pqkw3hWKZb839Kl9miK1hecufrSdkwI6OFvU4=; Received: from [37.204.164.247] (helo=homeipv6.semmy.ru) by sunner.semmy.ru with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1ci9x9-0000mr-6V; Mon, 27 Feb 2017 04:18:15 +0300 Subject: Re: bhyve passthrough problem after updated host to 10.3 To: Peter Grehan References: <98d35860-7d18-1864-700f-29df58fb85ba@semmy.ru> Cc: freebsd-virtualization@freebsd.org From: Sergey Matveychuk Message-ID: Date: Mon, 27 Feb 2017 04:18:15 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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: Mon, 27 Feb 2017 01:18:19 -0000 27.02.2017 3:09, Peter Grehan пишет: > Hi Sergey, > >>> Now, after experiments I can say the card can work only on 2 slot and >>> function=function on host. >>> >>> Example: >>> -s 2:1,passthrough,3/0/1 >> >> It's even worse I thought. >> The network card work only if spare slot with a disk device (may be any >> device, I did not try). >> So, it works: >> -s 2:1,passthru,3/0/1 -s 2:0,virtio-blk,mydisk >> >> and it does not work: >> -s 2:1,passthru,3/0/1 -s 3:0,virtio-blk,mydisk > > Guests in general won't probe non-zero functions if function 0 is not > present. Putting something at function 0 allows the device probe to be > extended to the non-zero functions you have configured. Bingo! Thank you for explain it.