4 Sep
2025
4 Sep
'25
9:26 p.m.
Cloud Hypervisor might close this, and closing stdin is a bad idea. Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com> --- host/rootfs/usr/bin/run-vmm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/host/rootfs/usr/bin/run-vmm b/host/rootfs/usr/bin/run-vmm index 14e2452f6648fd190a85d03e5cc4ce3fb54ec04f..bcb6cdaf6646da6bb4970fe97f5ef03badbd66a6 100755 --- a/host/rootfs/usr/bin/run-vmm +++ b/host/rootfs/usr/bin/run-vmm @@ -50,6 +50,7 @@ background -d { id=router-${client_id},tap=router-${client_id},mac=${mac} } unexport ! -fdclose 3 +fdmove -c 3 0 +redirfd -r 0 /dev/null -cloud-hypervisor --api-socket fd=0 +cloud-hypervisor --api-socket fd=3 -- 2.51.0