From owner-freebsd-virtualization@FreeBSD.ORG Mon Jun 22 14:23:26 2015 Return-Path: Delivered-To: freebsd-virtualization@nevdull.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A17C9B36 for ; Mon, 22 Jun 2015 14:23:26 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto2.onthenet.com.au [203.13.68.14]) by mx1.freebsd.org (Postfix) with ESMTP id 60097930 for ; Mon, 22 Jun 2015 14:23:25 +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 ESMTP id 8DCBF1241E for ; Tue, 23 Jun 2015 00:23:17 +1000 (EST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 88E59281FDF for ; Tue, 23 Jun 2015 00:23:17 +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 yyWpd8lzOtM7 for ; Tue, 23 Jun 2015 00:23:17 +1000 (AEST) Received: from Peters-MacBook-Pro.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 958862804FA; Tue, 23 Jun 2015 00:23:14 +1000 (AEST) Message-ID: <55881A50.6000608@freebsd.org> Date: Mon, 22 Jun 2015 07:23:12 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Andriy Gapon CC: freebsd-virtualization@freebsd.org Subject: Re: header type for bhyve host-pci bridge References: <5587D4AE.3050508@FreeBSD.org> In-Reply-To: <5587D4AE.3050508@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Mon, 22 Jun 2015 14:23:26 -0000 Hi Andriy, > diff --git a/usr.sbin/bhyve/pci_hostbridge.c b/usr.sbin/bhyve/pci_hostbridge.c > index 54a25ae..5c9ea28 100644 > --- a/usr.sbin/bhyve/pci_hostbridge.c > +++ b/usr.sbin/bhyve/pci_hostbridge.c > @@ -38,7 +38,7 @@ pci_hostbridge_init(struct vmctx *ctx, struct pci_devinst *pi, > char *opts) > /* config space */ > pci_set_cfgdata16(pi, PCIR_VENDOR, 0x1275); /* NetApp */ > pci_set_cfgdata16(pi, PCIR_DEVICE, 0x1275); /* NetApp */ > - pci_set_cfgdata8(pi, PCIR_HDRTYPE, PCIM_HDRTYPE_BRIDGE); > + pci_set_cfgdata8(pi, PCIR_HDRTYPE, PCIM_HDRTYPE_NORMAL); > pci_set_cfgdata8(pi, PCIR_CLASS, PCIC_BRIDGE); > pci_set_cfgdata8(pi, PCIR_SUBCLASS, PCIS_BRIDGE_HOST); This change is already in CURRENT as of r283264 and will be MFCd soon. later, Peter.