HomeFreeBSD

hyperv/vmbus: Reorganize vmbus device tree

Description

hyperv/vmbus: Reorganize vmbus device tree

For GEN1 Hyper-V, vmbus is attached to pcib0, which contains the
resources for PCI passthrough and SR-IOV. There is no
acpi_syscontainer0 on GEN1 Hyper-V.

For GEN2 Hyper-V, vmbus is attached to acpi_syscontainer0, which
contains the resources for PCI passthrough and SR-IOV. There is
no pcib0 on GEN2 Hyper-V.

The ACPI VMBUS device now only holds its _CRS, which is empty as
of this commit; its existence is mainly for upward compatibility.

Device tree structure is suggested by jhb@.

Tested-by: dexuan@
Collabrated-wth: dexuan@
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D10565

Details

Provenance
sepheAuthored on
Differential Revision
D10565: vmbus: Reorganize vmbus device tree
Parents
rS318135: Fix parsing of 'vmov Q<n>.F32,Q<n>.F32' instruction.
Branches
Unknown
Tags
Unknown