mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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:
parent
eb78ccf391
commit
c9bece0c8f
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user