File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 146
146
then "console=ttyAMA0"
147
147
else "" ;
148
148
149
- supportsNotifySocket = vsock . cid != null ;
150
149
151
150
in
152
151
lib . warnIf ( mem == 2048 ) ''
@@ -155,16 +154,7 @@ lib.warnIf (mem == 2048) ''
155
154
<https://github.com/astro/microvm.nix/issues/171>
156
155
''
157
156
{
158
- inherit tapMultiQueue supportsNotifySocket ;
159
-
160
- preStart = ''
161
- ${ microvmConfig . preStart }
162
- '' + lib . optionalString supportsNotifySocket ''
163
- # Start socat to forward systemd notify socket over vsock
164
- if [ -n "'' ${NOTIFY_SOCKET-}" ]; then
165
- ${ pkgs . socat } /bin/socat VSOCK-LISTEN:8888,fork UNIX-SENDTO:$NOTIFY_SOCKET &
166
- fi
167
- '' ;
157
+ inherit tapMultiQueue ;
168
158
169
159
command = lib . escapeShellArgs (
170
160
[
@@ -310,11 +300,6 @@ lib.warnIf (mem == 2048) ''
310
300
lib . optionals ( vsock . cid != null ) [
311
301
"-device"
312
302
"vhost-vsock-${ devType } ,guest-cid=${ toString vsock . cid } "
313
- # We are *supposed* to use SMBIOS here. But somehow, no matter how much I
314
- # tried, SMBIOS Type 11 entries simply don't work. It looks like it might
315
- # be broken on QEMU side. Why? I don't know.
316
- "-fw_cfg"
317
- "name=opt/io.systemd.credentials/vmm.notify_socket,string=vsock-stream:2:8888"
318
303
]
319
304
++
320
305
extraArgs
You can’t perform that action at this time.
0 commit comments