header type for bhyve host-pci bridge
Peter Grehan
grehan at freebsd.org
Mon Jun 22 14:23:26 UTC 2015
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.
More information about the freebsd-virtualization
mailing list