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:
Henrik Persson 2009-07-30 13:29:46 +02:00 committed by Daniel Veillard
parent eb78ccf391
commit c9bece0c8f

View File

@ -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 */