mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 02:51:16 +00:00
Fix NUMA topology error handling (beth kon)
This commit is contained in:
parent
d08b12c1a6
commit
77cf0390e4
@ -1,3 +1,8 @@
|
||||
Thu Oct 4 21:05:59 EST 2007 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* src/xend_internal.c: Fix error handling for NUMA topology
|
||||
(patch from Beth Kon)
|
||||
|
||||
Wed Oct 3 10:13:59 EST 2007 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* po/id.po: Remove bogus Project-Id-Version field from merge error
|
||||
|
@ -2006,16 +2006,16 @@ sexpr_to_xend_topology_xml(virConnectPtr conn, struct sexpr *root, virBufferPtr
|
||||
goto error;
|
||||
|
||||
}
|
||||
for (i=start; i<=finish && nodeCpuCount<numCpus; i++) {
|
||||
*(cpuIdsPtr++) = i;
|
||||
cellCpuCount++;
|
||||
for (i=start; i<=finish; i++) {
|
||||
nodeCpuCount++;
|
||||
}
|
||||
if (nodeCpuCount > numCpus) {
|
||||
virXendError(conn, VIR_ERR_XEN_CALL,
|
||||
"conflicting cpu counts");
|
||||
goto error;
|
||||
}
|
||||
*(cpuIdsPtr++) = i;
|
||||
cellCpuCount++;
|
||||
}
|
||||
offset += len;
|
||||
next = *(offset);
|
||||
offset++;
|
||||
|
Loading…
Reference in New Issue
Block a user