Unverified Commit 62f0db3b authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

build-support/vm: reduce waiting time for vsock (#499160)

parents e06dd5d6 c4ce61bb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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