mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00: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;
|
||||
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user