提交 a166cdbb 编写于 作者: C Cole Robinson

Fix starting qemu VM with multiple pty char devices.

上级 3bc32413
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
......
......@@ -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++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册