File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 8
8
9
9
inherit ( microvmConfig ) hostName ;
10
10
11
- inherit ( import ./. { inherit lib ; } ) createVolumesScript makeMacvtap ;
11
+ inherit ( import ./. { inherit lib ; } ) createVolumesScript makeMacvtap withDriveLetters ;
12
12
inherit ( makeMacvtap {
13
13
inherit microvmConfig hypervisorConfig ;
14
14
} ) openMacvtapFds macvtapFds ;
15
15
16
16
hypervisorConfig = import ( ./runners + "/${ microvmConfig . hypervisor } .nix" ) {
17
- inherit pkgs microvmConfig macvtapFds ;
17
+ inherit pkgs microvmConfig macvtapFds withDriveLetters ;
18
18
} ;
19
19
20
20
inherit ( hypervisorConfig ) command canShutdown shutdownCommand ;
Original file line number Diff line number Diff line change 1
1
{ pkgs
2
2
, microvmConfig
3
3
, macvtapFds
4
+ , withDriveLetters
4
5
} :
5
6
6
7
let
50
51
inherit ( microvmConfig ) hostName vcpu mem balloon initialBalloonMem deflateOnOOM hotplugMem hotpluggedMem user interfaces shares socket forwardPorts devices vsock graphics storeOnDisk kernel initrdPath storeDisk ;
51
52
inherit ( microvmConfig . qemu ) machine extraArgs serialConsole ;
52
53
53
- inherit ( import ../. { inherit ( pkgs ) lib ; } ) withDriveLetters ;
54
54
55
55
volumes = withDriveLetters microvmConfig ;
56
56
Original file line number Diff line number Diff line change 1
1
{ pkgs
2
2
, microvmConfig
3
3
, macvtapFds
4
+ , withDriveLetters
4
5
} :
5
6
6
7
let
14
15
15
16
tapMultiQueue = vcpu > 1 ;
16
17
17
- inherit ( import ../. { inherit ( pkgs ) lib ; } ) withDriveLetters ;
18
18
volumes = withDriveLetters microvmConfig ;
19
19
20
20
# PCI required by vfio-pci for PCI passthrough
You can’t perform that action at this time.
0 commit comments