dcavalca / rpms / qemu

Forked from rpms/qemu a year ago
Clone

Blame 0001-Revert-qemu-char-Re-connect-for-tcp_chr_write-unconn.patch

dbb388
--- qemu-kvm-1.2.0/qemu-char.c~	2012-09-12 19:46:36.491936229 +0100
dbb388
+++ qemu-kvm-1.2.0/qemu-char.c	2012-09-12 19:47:33.349972760 +0100
dbb388
@@ -2268,9 +2268,8 @@
dbb388
         }
dbb388
         return ret;
dbb388
     } else {
dbb388
-        /* (Re-)connect for unconnected writing */
dbb388
-        tcp_chr_connect(chr);
dbb388
-        return 0;
dbb388
+        /* XXX: indicate an error ? */
dbb388
+        return len;
dbb388
     }
dbb388
 }
dbb388