You spent $160 on a Hailo-8 M.2 module expecting to transform your compact, whisper-quiet Proxmox mini PC into an edge AI powerhouse. You envisioned your NVR running 16 high-bitrate 4K camera streams through YOLOv8 object detection with sub-6 millisecond latency, all while your host CPU idles comfortably at 4%. Instead, you are sitting in front of a terminal window at 11:30 PM, staring at kernel panics, broken dkms builds, PCIe reset failures, or an LXC container complaining that /dev/hailo0 does not exist or refuses permission.
Passing PCIe hardware through Proxmox VE 8.x into unprivileged containers or virtual machines is filled with silent failure modes. Mini PCs like the Minisforum MS-01, Beelink EQ12, or HP EliteDesk 800 G6 pack tremendous compute into tiny footprints, but their non-standard PCIe lane multiplexing, tightly coupled IOMMU grouping, and thermal throttling quirks can derail your deployment before you even compile the HailoRT driver.
\n\nTo deploy a Hailo-8 M.2 AI accelerator on Proxmox VE 8.x, enable IOMMU in BIOS and configure kernel parameters (intel_iommu=on iommu=pt). For LXC containers, install the hailort-pcie-driver DKMS module on the host and pass /dev/hailo0 using cgroup permissions. For VMs, bind the Hailo PCIe ID (1e60:2864) directly to vfio-pci.
Why Does M.2 Hardware Compatibility Fail on Modern Mini PCs?
\n\nBefore touching kernel configurations or Proxmox flags, you must understand the physical and electrical topology of your host hardware. The Hailo-8 M.2 2280 module relies on a PCIe Gen3 x4 interface delivered via an M-Key edge connector (or PCIe Gen3 x2 on specific A+E key variants). Most practitioners assume any M.2 slot inside a mini PC will work identically. This assumption is a fast track to hardware instability.
\n\nMini PC manufacturers rely heavily on PCIe bifurcation and shared lane switches to squeeze dual 2.5GbE LAN, Wi-Fi 6E, multiple NVMe slots, and USB4 controllers into a chassis the size of a paperback book. If you plug a Hailo-8 M.2 card into a secondary NVMe slot that shares lanes with a SATA controller or secondary PCIe switch, the host platform may fail to present isolated IOMMU groups.
\n\n+-------------------------------------------------------------------------+\n| Host CPU / Root Complex |\n+-------------------------------------------------------------------------+\n |\n +-------------------------+-------------------------+\n | (PCIe Bus 00) | (PCIe Bus 01)\n+-------------------+ +-------------------+\n| System Memory | | IOMMU Group 14 |\n| (Host RAM) | | PCIe Switch/Root |\n+-------------------+ +-------------------+\n |\n +-----------+-----------+\n | (PCIe 02:00.0) |\n +-------------------------------+\n | Hailo-8 AI Co-Processor |\n | (Vendor: 1e60, Device: 2864) |\n +-------------------------------+\n\nWhen IOMMU groups are linked, assigning the Hailo-8 to a QEMU Virtual Machine using VFIO forces Proxmox to break access to every other peripheral inside that same group—frequently severing your Ethernet controller or main storage bus, resulting in an immediate host crash.
\n\nFurthermore, thermal dissipation on M.2 accelerators is brutally high during batch inference. The Hailo-8 can draw up to 8.2W during peak 26 TOPS load. Without active airflow or direct thermal pad coupling to the mini PC’s chassis, the card will initiate internal thermal throttling, dropping PCIe bus speeds from Gen3 to Gen1, or triggering a hardware reset that drops the card off the PCIe bus entirely mid-stream.
\n\nThe architectural decision between running your Hailo-8 inside an unprivileged LXC container versus a full QEMU Virtual Machine determines where drivers live and how isolated your host remains.
\n\n| Architecture & Pass-through Method | \nKernel & Host Configuration Required | \nImplementation Complexity & Friction | \nInference Latency (YOLOv8m @ 4K) | \nCPU Offload Efficiency & Thermals | \n
|---|---|---|---|---|
| LXC Shared Device (/dev/hailo0) | \nHost installs DKMS module. Character device exposed via cgroup rules. | \nLow friction. Host kernel updates require DKMS rebuild. Containers share single driver stack. | \n4.8 ms – 5.4 ms (Bare-metal equivalent performance) | \n96% CPU offload. Host stays cool with shared daemon overhead. | \n
| QEMU VM VFIO PCIe Passthrough | \nHost stubs driver via vfio-pci. Guest OS installs DKMS module & HailoRT. | \n Moderate-High. Demands clean IOMMU group isolation and guest kernel header matching. | \n5.2 ms – 5.9 ms (<3% virtualization overhead) | \n95% CPU offload. Guest controls power state; higher risk of host ASPM lockup if unhandled. | \n
| Google Coral M.2 Dual Edge TPU (Reference) | \nHost Apex driver required. Needs dual PCIe lane split (PCIe multiplexer adapter). | \nHigh hardware friction. Dual-TPU requires motherboard support for PCIe E-key bifurcation. | \n14.2 ms – 18.1 ms (Model restricted to MobileNet/YOLOv8s quantized) | \n80% CPU offload. Low thermal envelope (4W max). | \n
| Host CPU OpenVINO Inference (Fallback) | \nNo specialized hardware drivers. Native CPU vector extension utilization (AVX2/VNNI). | \nZero friction. Standard package deployment. | \n42.0 ms – 110.0 ms (Saturates available cores rapidly) | \n0% CPU offload. Host cores hit 85-100% utilization, driving thermal limits. | \n
The table illustrates a critical trade-off: LXC direct device sharing provides lowest overhead and trivial driver management once host DKMS is established, whereas QEMU VM passthrough offers strong isolation at the expense of strict IOMMU boundary requirements.
\n\nHow Do You Configure Proxmox VE 8 Host Kernel and IOMMU for Hailo-8?
\n\nLet’s fix your host configuration step by step. We will configure Proxmox VE 8.x (running Linux Kernel 6.5 or 6.8+) to properly isolate the PCIe bus and expose IOMMU groups for the Hailo-8 co-processor.
\n\n1. BIOS Configuration Verification
\nReboot your Mini PC and enter the BIOS setup. You must explicitly configure the following options:\n- \n
- Intel Virtualization Technology (VT-d) or AMD IOMMU: Set to
Enabled.\n \n - PCIe ASPM (Active State Power Management): Set to
AutoorDisabledif experiencing system freezes on PCIe wake-up.\n \n - Above 4G Decoding / Resizable BAR: Set to
Enabled.\n
2. Configure Host Kernel Parameters
\nLog into your Proxmox VE host via SSH asroot. We need to modify the bootloader configuration depending on whether your Proxmox installation uses systemd-boot (UEFI standard) or GRUB.\n\nDetermine your bootloader:\n
cmdline=$(cat /proc/cmdline)\nif [ -d "/sys/firmware/efi/efivars" ] && [ ! -f "/etc/default/grub" ]; then\n echo "Using systemd-boot"\nelse\n echo "Using GRUB"\nfi\n\nFor GRUB systems, edit /etc/default/grub:\n
nano /etc/default/grub\nLocate GRUB_CMDLINE_LINUX_DEFAULT and append the appropriate IOMMU flags:\n# For Intel Systems:\nGRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt"\n\n# For AMD Systems:\nGRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt"
\nSave the file and update GRUB:\nupdate-grub\n\nFor systemd-boot systems, edit /etc/kernel/cmdline:\n
nano /etc/kernel/cmdline\nAppend intel_iommu=on iommu=pt (or amd_iommu=on iommu=pt) to the existing line of parameters. Then sync kernel parameters:\nproxmox-boot-tool refresh\n\n3. Load VFIO Engine Modules
\nAdd the mandatory kernel modules to/etc/modules:\ncat <<EOF >> /etc/modules\nvfio\nvfio_iommu_type1\nvfio_pci\nvfio_virqfd\nEOF\n\nReboot the Proxmox host to apply changes:\n
reboot\n\n4. Verify PCIe Detection & IOMMU Grouping
\nOnce the host returns online, runlspci to verify the physical Hailo-8 module is detected:\nlspci -nn | grep -i hailo\nExpected Output:\n02:00.0 Co-processor: Hailo Technologies Ltd. Hailo-8 AI Processor [1e60:2864] (rev 01)\n\nNote the PCI address (02:00.0) and Vendor/Device ID (1e60:2864). Now run this bash loop to verify your IOMMU isolation:
for d in /sys/kernel/iommu_groups/*/devices/*; do\n n=${d#*/iommu_groups/}\n n=${n%%/*}\n printf 'IOMMU Group %s ' "$n"\n lspci -nns "${d##*/}"\ndone | grep -i hailo\n\nIdeal Output:\n
IOMMU Group 14 02:00.0 Co-processor [0400]: Hailo Technologies Ltd. Hailo-8 AI Processor [1e60:2864] (rev 01)\n\nIf the output lists other critical system hardware (such as an Ethernet controller or NVMe drive) in that exact same IOMMU group, you cannot use QEMU VM passthrough without installing an ACS override patch (not recommended for production stability). You must instead use the LXC Shared Device pattern.
\n\n +-----------------------------------+\n | Hailo-8 PCIe Hardware Detected |\n | Vendor ID: 1e60:2864 |\n +-----------------------------------+\n |\n Is IOMMU Group Isolated Cleanly?\n |\n +------------------+------------------+\n | |\n [YES] [NO]\n | |\n v v\n +---------------------------+ +---------------------------+\n | Option B: VM Passthrough | | Option A: LXC Passthrough |\n | Direct VFIO Binding | | Shared Host Kernel Driver |\n +---------------------------+ +---------------------------+\n\nHow Do You Pass Through the Hailo-8 Card to an LXC Container or QEMU VM?
\n\nChoose the implementation method suited to your platform layout based on your IOMMU audit above.
\n\nOption A: Passing Hailo-8 into an Unprivileged LXC Container (Recommended)
\n\nLXC container pass-through gives high performance and simple resource management because the host kernel manages hardware execution while exposing character device handles safely into unprivileged user spaces.
\n\nStep A.1: Install Dependencies and Compile Driver on Host
\nExecute on the Proxmox host shell:\napt-get update\napt-get install -y build-essential dkms pve-headers-$(uname -r) git\n\nClone the official Hailo PCIe driver repository and compile via DKMS:\n
cd /usr/src\ngit clone https://github.com/hailo-ai/hailort-driver.git hailort-4.18.0\ncd hailort-4.18.0\ndkms add -m hailort -v 4.18.0\ndkms build -m hailort -v 4.18.0\ndkms install -m hailort -v 4.18.0\n\nLoad the compiled driver module into the running kernel:\n
modprobe hailort\n\nVerify character device generation and permissions on the host:\n
ls -l /dev/hailo0\nExpected Output:\ncrw-rw---- 1 root hailo 242, 0 Oct 24 14:02 /dev/hailo0\n\nCreate a udev rule on the host to ensure non-root users inside container spaces retain read/write access across host reboots:\n
cat <<EOF > /etc/udev/rules.d/51-hailo.rules\nKERNEL=="hailo0", GROUP="hailo", MODE="0666"\nEOF\nudevadm control --reload-rules && udevadm trigger\n\nStep A.2: Map the Character Device to the LXC Container
\nIdentify your LXC container ID (e.g., Container100). Open its configuration file located on the Proxmox host at /etc/pve/lxc/100.conf:\nnano /etc/pve/lxc/100.conf\n\nFind the major and minor character device numbers using ls -l /dev/hailo0 (in this example, 242 and 0). Append the following cgroup permission masks and device mount parameters to the end of 100.conf:
# Hailo-8 Accelerator Device Pass-through\nlxc.cgroup2.devices.allow: c 242:* rwm\nlxc.mount.entry: /dev/hailo0 dev/hailo0 none bind,optional,create=file\n\nNote: Replace 242 with the major character device number reported by your host’s /dev/hailo0.
Start the LXC container:\n
pct start 100\nVerify from inside the LXC container terminal:\nls -la /dev/hailo0\nIf visible with crw-rw-rw- access, your container is bound to the host accelerator.\n\n—
\n\nOption B: Passing Hailo-8 into a QEMU Virtual Machine via VFIO
\n\nIf your setup requires complete workload isolation within a dedicated Linux Virtual Machine (Debian 12 or Ubuntu 24.04 LTS VM), pass the hardware via direct VFIO assignment.
\n\nStep B.1: Bind Hailo-8 PCIe ID to VFIO-PCI Driver
\nAdd the Vendor and Device ID (1e60:2864) to /etc/modprobe.d/vfio.conf on the Proxmox host:\necho "options vfio-pci ids=1e60:2864 disable_idle_d3=1" > /etc/modprobe.d/vfio.conf\nNote: The parameter disable_idle_d3=1 prevents power state instability on specific mini PC motherboard configurations.\n\nBlacklist native Hailo host drivers so VFIO grabs exclusive hardware locks during boot:\n
echo "blacklist hailort" >> /etc/modprobe.d/blacklist.conf\nupdate-initramfs -u -k all\nreboot\n\nAfter rebooting, confirm vfio-pci claims the Hailo-8 hardware:\n
lspci -nnk -s 02:00.0\nExpected Output:\n02:00.0 Co-processor: Hailo Technologies Ltd. Hailo-8 AI Processor [1e60:2864] (rev 01)\n Subsystem: Hailo Technologies Ltd. Hailo-8 AI Processor [1e60:2864]\n Kernel driver in use: vfio-pci\n Kernel modules: hailort\n\nStep B.2: Assign Device to Virtual Machine
\nYou can add the PCIe host device using the Proxmox Web UI or via the CLI. For VM ID101:\n\nqm set 101 --hostpci0 02:00.0,pcie=1\n\nBoot the target VM, install the Linux kernel headers matching your guest kernel, clone the hailort-driver repository inside the VM guest OS, and run dkms install following the steps outlined in Step A.1 above.
How Do You Install HailoRT and Validate Performance with Frigate NVR?
\n\nNow that the driver interface is established, you must install the runtime daemon, compile runtime software, and verify hardware performance metrics using production workloads like Frigate NVR.
\n\n1. Install HailoRT Runtime & Command Line Tools
\nInside your target LXC container or Virtual Machine, download and install the matchinghailort user-space library package. Download the release .deb packages corresponding to your driver version (e.g., v4.18.0):\n\n
\n
Install Runtime Dependencies
\nsudo apt-get update && sudo apt-get install -y dkms cmake libglib2.0-dev\n\nDownload HailoRT Deb Package
\nwget https://github.com/hailo-ai/hailort/releases/download/v4.18.0/hailort_4.18.\n\n\n\nRadxa ROCK 5B+ vs Orange Pi 5 Max (RK3588 Benchmarks) • \nEdge AI Carrier Boards: Seeed vs Auvidea Jetson Traps • \nK3s Cluster on RK3588: Cilium eBPF CNI Networking • \nIntel NPU 4 vs AMD XDNA 2: Copilot+ AI TOPS • \nGroq LPU vs SambaNova SN40L Deterministic Silicon.\n
Scale your optimized edge runtimes across modular dedicated accelerator cards using our deployment guide for OpenVINO vs TensorRT: Cross-Platform Edge AI Showdown.
\n