mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
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
This commit is contained in:
committed by
Daniel Veillard
parent
eb78ccf391
commit
c9bece0c8f
+3
-3
@@ -3801,10 +3801,10 @@ xenDaemonDomainPinVcpu(virDomainPtr domain, unsigned int vcpu,
|
|||||||
|
|
||||||
priv = (xenUnifiedPrivatePtr) domain->conn->privateData;
|
priv = (xenUnifiedPrivatePtr) domain->conn->privateData;
|
||||||
if (priv->xendConfigVersion < 3) {
|
if (priv->xendConfigVersion < 3) {
|
||||||
buf[0] = ']';
|
mapstr[0] = '[';
|
||||||
buf[1] = 0;
|
mapstr[1] = 0;
|
||||||
} else {
|
} else {
|
||||||
buf[0] = 0;
|
mapstr[0] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* from bit map, build character string of mapped CPU numbers */
|
/* from bit map, build character string of mapped CPU numbers */
|
||||||
|
|||||||
Reference in New Issue
Block a user