Fix hermes-vm.service crash-loop: drop mismatched multi_queue tap flag
QEMU's -netdev tap line never requests queues=N, so a persistent tap
created with `multi_queue` fails TUNSETIFF with EINVAL on every attach
attempt ("could not configure /dev/net/tun: Invalid argument"),
crash-looping the VM indefinitely. Confirmed live on hl-fwdesk via
`ip tuntap show` (tap flagged multi_queue, numqueues 0 - never
successfully attached).
vhost is already off in this design, so multiqueue bought nothing here
anyway - just drop the flag from tap creation instead of adding
matching queues= plumbing.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c39be5e6de
commit
d961d38974
1 file changed
+1
-1
+1
-1
@@ -552,7 +552,7 @@ in
|
||||
path = [ pkgs.iproute2 ];
|
||||
script = ''
|
||||
ip link show ${net.tapId} >/dev/null 2>&1 \
|
||||
|| ip tuntap add ${net.tapId} mode tap user ${vmUser} multi_queue
|
||||
|| ip tuntap add ${net.tapId} mode tap user ${vmUser}
|
||||
ip link set ${net.tapId} up
|
||||
'';
|
||||
preStop = ''
|
||||
|
||||
Reference in new issue
Block a user