提交 c9bece0c 编写于 作者: H Henrik Persson 提交者: Daniel Veillard

Fix vcpupin on Xen problem

* src/xend_internal.c: the update on the cpu affinity map format
  had na error and made the changes in the wrong buffer, fix those
上级 eb78ccf3
......@@ -3801,10 +3801,10 @@ xenDaemonDomainPinVcpu(virDomainPtr domain, unsigned int vcpu,
priv = (xenUnifiedPrivatePtr) domain->conn->privateData;
if (priv->xendConfigVersion < 3) {
buf[0] = ']';
buf[1] = 0;
mapstr[0] = '[';
mapstr[1] = 0;
} else {
buf[0] = 0;
mapstr[0] = 0;
}
/* from bit map, build character string of mapped CPU numbers */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册