build-support/vm: reduce waiting time for vsock

the check is cheap so 100ms is better to reduce latency
This commit is contained in:
Jörg Thalheim
2026-03-12 07:36:18 +01:00
parent 26420c800b
commit c4ce61bb25
+2 -2
View File
@@ -307,8 +307,8 @@ let
${virtiofsd}/bin/virtiofsd --xattr --socket-path virtio-xchg.sock --sandbox none --seccomp none --shared-dir xchg &
# Wait until virtiofsd has created these sockets to avoid race condition.
until [[ -e virtio-store.sock ]]; do ${coreutils}/bin/sleep 1; done
until [[ -e virtio-xchg.sock ]]; do ${coreutils}/bin/sleep 1; done
until [[ -e virtio-store.sock ]]; do ${coreutils}/bin/sleep 0.1; done
until [[ -e virtio-xchg.sock ]]; do ${coreutils}/bin/sleep 0.1; done
${qemuCommand}
EOF