Skip to content

Commit 1c0c468

Browse files
MarcelCodingastro
authored andcommitted
cloud-hypervisor: fix pci device config
bcabdff indroduced additional device arguments, which were not handled by the cloud-hypervisor implementation
1 parent cefa3ca commit 1c0c468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/runners/cloud-hypervisor.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ in {
215215
else throw "Unsupported interface type ${type} for Cloud-Hypervisor"
216216
) interfaces)
217217
++
218-
arg "--device" (map ({ bus, path }: {
218+
arg "--device" (map ({ bus, path, ... }: {
219219
pci = "path=/sys/bus/pci/devices/${path}";
220220
usb = throw "USB passthrough is not supported on cloud-hypervisor";
221221
}.${bus}) devices)

0 commit comments

Comments
 (0)