On 15.09.2016 10:27, Tomáš Ryšavý wrote:
Signed-off-by: Tomáš Ryšavý <tom.rysavy.0(a)gmail.com>
The commit message is a bit sparse.
---
src/test/test_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index 53cfa3c..bf2e80a 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
@@ -1269,7 +1269,7 @@ testOpenDefault(virConnectPtr conn)
/* Numa setup */
privconn->numCells = 2;
- for (u = 0; u < 2; ++u) {
+ for (u = 0; u < privconn->numCells; ++u) {
privconn->cells[u].numCpus = 8;
privconn->cells[u].mem = (u + 1) * 2048 * 1024;
}
Michal