Skip to content

Commit d3a9b75

Browse files
committed
crosvm: fix pci device config
1 parent 1c0c468 commit d3a9b75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/runners/crosvm.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ in {
134134
# "--net-vq-pairs" (toString vcpu)
135135
# ]
136136
++
137-
builtins.concatMap ({ bus, path }: {
137+
builtins.concatMap ({ bus, path, ... }: {
138138
pci = [ "--vfio" "/sys/bus/pci/devices/${path},iommu=viommu" ];
139139
usb = throw "USB passthrough is not supported on crosvm";
140140
}.${bus}) devices

0 commit comments

Comments
 (0)