Fix starting qemu VM with multiple pty char devices.

This commit is contained in:
Cole Robinson 2008-10-02 14:10:20 +00:00
parent 3bc324139e
commit a166cdbb6e
2 changed files with 5 additions and 1 deletions

View File

@ -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

View 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++;