File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change 7
7
inherit ( pkgs ) lib ;
8
8
inherit ( pkgs . stdenv ) system ;
9
9
inherit ( microvmConfig )
10
- vcpu mem balloonMem user interfaces volumes shares
10
+ vcpu mem balloonMem user volumes shares
11
11
socket devices vsock graphics
12
12
kernel initrdPath storeDisk storeOnDisk ;
13
13
inherit ( microvmConfig . crosvm ) pivotRoot extraArgs ;
14
14
15
- inherit ( macvtapFds ) nextFreeFd ;
16
- inherit ( (
17
- builtins . foldl' ( { interfaceFds , nextFreeFd } : { type , id , ... } :
18
- if type == "tap"
19
- then {
20
- interfaceFds = interfaceFds // {
21
- ${ id } = nextFreeFd ;
22
- } ;
23
- nextFreeFd = nextFreeFd + 1 ;
24
- }
25
- else if type == "macvtap"
26
- then { inherit interfaceFds nextFreeFd ; }
27
- else throw "Interface type not supported for crosvm: ${ type } "
28
- ) { interfaceFds = macvtapFds ; inherit nextFreeFd ; } interfaces
29
- ) ) interfaceFds ;
30
-
31
15
kernelPath = {
32
16
x86_64-linux = "${ kernel . dev } /vmlinux" ;
33
17
aarch64-linux = "${ kernel . out } /${ pkgs . stdenv . hostPlatform . linux-kernel . target } " ;
You can’t perform that action at this time.
0 commit comments