]> Git Repo - qemu.git/blobdiff - qemu-char.c
s390x/cpumodel: generate CPU feature lists for CPU models
[qemu.git] / qemu-char.c
index 8a0ab05a7bd140f1180604782b99890487b4a6a5..5f82ebb774c00e5b909f7b92ef47981f9ed24ecb 100644 (file)
@@ -3176,7 +3176,9 @@ static int tcp_chr_wait_connected(CharDriverState *chr, Error **errp)
     TCPCharDriver *s = chr->opaque;
     QIOChannelSocket *sioc;
 
-    while (!s->connected) {
+    /* It can't wait on s->connected, since it is set asynchronously
+     * in TLS and telnet cases, only wait for an accepted socket */
+    while (!s->ioc) {
         if (s->is_listen) {
             fprintf(stderr, "QEMU waiting for connection on: %s\n",
                     chr->filename);
This page took 0.021735 seconds and 4 git commands to generate.