mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
Fix starting qemu VM with multiple pty char devices.
This commit is contained in:
parent
3bc324139e
commit
a166cdbb6e
@ -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>
|
Wed Oct 1 17:28:47 CEST 2008 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
* src/xend_internal.c: fix ordering when parsing multiple Xen
|
* src/xend_internal.c: fix ordering when parsing multiple Xen
|
||||||
|
@ -566,7 +566,7 @@ static int qemudExtractMonitorPath(virConnectPtr conn,
|
|||||||
strncpy(*path, dev, (tmp-dev));
|
strncpy(*path, dev, (tmp-dev));
|
||||||
(*path)[(tmp-dev)] = '\0';
|
(*path)[(tmp-dev)] = '\0';
|
||||||
/* ... now further update offset till we get EOL */
|
/* ... now further update offset till we get EOL */
|
||||||
*offset += tmp - haystack;
|
*offset = tmp - haystack;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
tmp++;
|
tmp++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user