System Setup and Installation
Blackwell Ultra System Configuration
The tested environment is one NVIDIA DGX B300 running Ubuntu 24.04.5 LTS and a single full-node KVM guest running Ubuntu 24.04.4 LTS. All eight B300 GPUs, sixteen ConnectX-8 PCIe physical functions (PFs), and four ConnectX-7 bridge functions are passed through to the guest VM. Host storage and both BlueField-3 DPUs are owned and managed by the host. In all essence, it emulates an NVIDIA HGX B300.
The following table outlines the details of the system that was used to run single-node training and inference workloads using a Linux KVM hypervisor.
B300 NVL8 Physical Topology

Figure 2. Physical B300 NVL8 topology
Blackwell Ultra System Software Configuration
The following table outlines the B300 NVL8 host and guest VM software used for testing.
Firmware verified on the tested system
Guest VM Software Baseline and Topology Information
The following table outlines the guest VM software stack and topology information.
Qualified stack reference: DGX OS 7 release notes.
Installing the Hypervisor
This guide is based on Linux KVM hypervisors. The validation used Linux KVM with QEMU and libvirt on an Ubuntu 24.04.5 host and an Ubuntu 24.04.4 guest, both on kernel 6.17.0-1032-nvidia and compatible NVIDIA packages can implement the same topology, but package names and service behavior differ. Please consult your vendor documentation for a detailed installation process and validate the following prerequisites before attaching devices to a guest:
-
Install the host OS on the B300 NVL8 boot storage and retain a host-managed network path. Keep the BlueField-3 DPUs and boot-storage NVMe controllers with the host; do not pass them to the VM.
-
Use a LOM or a separate Ethernet NIC for host OS installation and management.
-
Do not use a ConnectX-8 function, or any other NIC that will be passed through to the VM, as the host’s only management path.
-
In full-passthrough mode the host does not need any NVIDIA GPU software for the passed-through devices; the guest runs the NVIDIA driver, Fabric Manager and NVLSM. Before starting the VM, stop all host GPU workloads and stop the host NVIDIA driver, Fabric Manager and NVLSM completely. On the tested host these are managed by the NVIDIA GPU Operator, so setting the node label nvidia.com/gpu.deploy.operands=false stops them.
-
Bind the eight GPUs, sixteen ConnectX-8 functions and four ConnectX-7 functions to vfio-pci at boot:
-
Add vfio-pci.ids=10de:3182,15b3:1023,15b3:1021 to the kernel command line.
-
In /etc/modprobe.d/, add options vfio-pci ids=10de:3182,15b3:1023,15b3:1021 disable_idle_d3=1, softdep nvidia pre: vfio-pci and softdep mlx5_core pre: vfio-pci.
-
Add an initramfs hook that loads vfio, vfio_iommu_type1 and vfio_pci, run update-initramfs -u and update-grub, then reboot.
-
-
To return to bare-metal mode, shut down the VM, remove these settings, reboot, and restart the host GPU software (remove the nvidia.com/gpu.deploy.operands=false label).
-
Install and verify the virtualization stack:
- Create a base UEFI guest VM with a virtio NIC and virtual disk. Add vCPU pinning, hugepages, vNUMA, PCIe topology, and passthrough devices later by updating the domain XML. Size the disk for the workload; the tested guest used a 3 TiB disk because the inference model cache needs at least 1,210 GiB free. The following command creates the base VM with the required CPU, memory, boot, disk, and management-network settings:
Understanding system topology
Identify the GPUs, NICs, and other devices that share a NUMA node or PCIe switch. Use those groupings when you define the guest vNUMA and virtual PCIe hierarchy. Keep each GPU aligned with its local ConnectX-8 functions. On a system with switched PCIe topology, a GPU and a peer NIC can communicate through GPUDirect RDMA only when the IOMMU, device capabilities and the peer-to-peer PCIe path are supported.
Run the following commands on the host before writing the VM XML, and run them again in the guest after it boots. On the host they record the CPU numbering, NUMA layout, PCI addresses and GPU-to-NIC locality used to build the domain XML. In the guest they confirm that the VM reproduces the same layout. The table below the commands lists what each command shows on the tested host and guest.

Figure 3. GPU and ConnectX-8 pairing discovered on the B300 host.
Sample ‘lstopo’ output
Excerpt of lstopo-no-graphics --of console output for the tested B300 NVL8, showing GPU 0 and its ConnectX-8 below one PCIe switch. The full output is in the Appendix:
Additional System Setup Considerations
The following setup items apply to the tested B300 NVL8 configuration.
-
Enable Intel IOMMU passthrough mode and confirm the IOMMU group for each device before assigning it to the guest.
-
Enable PCIe Address Translation Services (ATS) on every ConnectX-8 adapter and configure PCIe Access Control Services (ACS) on the root ports and PCIe switch ports on the GPU and ConnectX-8 paths, as described in the Appendix. Both are required by this configuration.
-
Use the NVIDIA open GPU kernel modules. The tested host and guest both used the NVIDIA GPU Operator (v26.3.3, driver.kernelModuleType: open), whose driver container provides a matched driver, GSP firmware and Fabric Manager (580.178.04).
-
Use the in-tree R580 nvidia-peermem module for GPUDirect RDMA and verify that it is loaded. Do not install the legacy peer-memory components alongside it.
-
Allocate 1 GiB hugepages symmetrically: reserve 768 GiB from each host NUMA node for the 1.5 TiB guest. Reserve them at boot with hugepagesz=1G hugepages=0:768,1:768 on the kernel command line, and mount a 1 GiB hugetlbfs for libvirt (for example /dev/hugepages1G with pagesize=1G).
-
Reserve physical cores for QEMU emulator and I/O threads. Do not include those cores in the guest vCPU pinning set.
-
Keep simultaneous multithreading (SMT) enabled to match the tested CPU mapping.
-
Assign the eight GPUs, sixteen ConnectX-8 functions, and four ConnectX-7 bridge functions to one owner at a time: either the host or the VM.
-
The four ConnectX-7 bridge functions are the management ConnectX-7 that connects to the two QM3 switches of the NVLink fabric. Identify them by the SMDL=SW_MNG string in their PCI VPD (27:00.0-27:00.3 on the tested system). After the VM boots, confirm in the guest that both QM3 switches are visible and that Fabric Manager completed fabric setup on all eight GPUs.
-
Use the GPU or NIC endpoint link state– speed and width– to validate or troubleshoot physical PCIe performance. Virtual root-port metadata inside a QEMU guest describes the guest topology, and not the physical B300 link.
-
Record firmware and topology for each system. Reuse a BDF map only across cluster nodes with matching hardware and firmware.
Verify the items above with the following commands. Run them on the host, except where a comment says to run them in the guest.
Optimal device selection
When assigning GPUs, NICs and storage controllers to a VM, preserve the physical relationships shown by lstopo, lspci and nvidia-smi topo -m. The tested full-node VM uses both sockets because it owns all eight GPUs.
1. Select devices on same CPU socket / NUMA node as VM vCPUs
Bandwidth and latency between PCIe devices and system memory is optimal when a device accesses memory attached to its local CPU socket/NUMA node. On the reference B300 NVL8 node–
-
NUMA node 0 contains GPUs 0-3, four ConnectX-8 adapters and host logical CPUs 0-63, and 128-191.
-
NUMA Node 1 contains GPUs 4-7, remaining four ConnectX-8 adapters and logical CPUs 64-127 and 192-255.
The guest VM mirrors this layout with vNUMA node 0 for vCPUs 0-119 and vNUMA node 1 for vCPUs 120-239.
The guest VM spans both NUMA nodes, but each guest NUMA node, memory cell and PCIe branch remains aligned with its host NUMA node.
2. Select NICs, Storage Controllers proximate to GPU
Proximity is the PCIe path between a GPU and a peer device. Best GPUDirect RDMA performance is obtained when the GPUs and peer devices (NICs, Storage Controllers) are below the same physical PCIe switch complex and are represented beneath the same virtual root-port group. Performance may degrade as the PCIe path length increases, traversing multiple PCIe switches or the PCIe root complex. Pair each GPU only with peer devices on the same CPU socket; cross-socket peer traffic must cross the inter-socket link.
On the reference B300 NVL8 system, every GPU is paired with the two functions of one ConnectX-8 adapter. The VM XML keeps each trio together.
The tested B300 NVL8 VM does not pass through storage controllers. It uses a qcow2 disk with cache=none and io=native, while BlueField-3 and NVMe controllers remain host-owned.
3. Select GPUs connected via NVLink
NVIDIA SXM platforms have all-to-all GPU NVLink connectivity so GPU selection does not apply to the full-node configuration. On the reference node, the guest receives all eight B300 GPUs which form a single NVSwitch fabric, along with the four ConnectX-7 bridge functions required for guest Fabric Manager operation.
The nvidia-smi topo -m output reports NV18 between every GPU pair. Each GPU therefore has the same NVLink reachability within the full-node VM.