]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix starting qemu VM with multiple pty char devices.
authorCole Robinson <crobinso@redhat.com>
Thu, 2 Oct 2008 14:10:20 +0000 (14:10 +0000)
committerCole Robinson <crobinso@redhat.com>
Thu, 2 Oct 2008 14:10:20 +0000 (14:10 +0000)
ChangeLog
src/qemu_driver.c

index af6c1fb69edabab21af439f9c9b53ead57eaa24c..69669e4fa052fc8e5519a8be52eb2138c18e6d71 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Oct  2 10:06:00 EST 2008 Cole Robinson <crobinso@redhat.com>
+
+       * src/qemu_driver.c: Fix startup timeout with multiple pty devices.
+
 Wed Oct  1 17:28:47 CEST 2008 Daniel Veillard <veillard@redhat.com>
 
        * src/xend_internal.c: fix ordering when parsing multiple Xen
index 9d8f75a78224c641eb2753c852aff9068255a416..a1e7285a541b6ab16b4c05c58a5c2a5c08289efb 100644 (file)
@@ -566,7 +566,7 @@ static int qemudExtractMonitorPath(virConnectPtr conn,
             strncpy(*path, dev, (tmp-dev));
             (*path)[(tmp-dev)] = '\0';
             /* ... now further update offset till we get EOL */
-            *offset += tmp - haystack;
+            *offset = tmp - haystack;
             return 0;
         }
         tmp++;