Skip to content

Commit

Permalink
cloud-hypervisor: fix pci device config
Browse files Browse the repository at this point in the history
bcabdff indroduced additional device arguments,
which were not handled by the cloud-hypervisor implementation
  • Loading branch information
MarcelCoding authored and astro committed Feb 9, 2025
1 parent cefa3ca commit 1c0c468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runners/cloud-hypervisor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ in {
else throw "Unsupported interface type ${type} for Cloud-Hypervisor"
) interfaces)
++
arg "--device" (map ({ bus, path }: {
arg "--device" (map ({ bus, path, ... }: {
pci = "path=/sys/bus/pci/devices/${path}";
usb = throw "USB passthrough is not supported on cloud-hypervisor";
}.${bus}) devices)
Expand Down

0 comments on commit 1c0c468

Please sign in to comment.