aboutsummaryrefslogtreecommitdiff
path: root/python/qemu/accel.py
diff options
context:
space:
mode:
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>2020-02-07 19:54:33 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2020-03-06 10:35:15 +0000
commit1f40ace7b5634f93801c8474b9eb77fe2e00289c (patch)
treee4772d11568f1d03e3e1748df8f767f35d9d8612 /python/qemu/accel.py
parent3fc92f875224cc15eceafb133ae542bbefb959e6 (diff)
downloadqemu-1f40ace7b5634f93801c8474b9eb77fe2e00289c.zip
qemu-1f40ace7b5634f93801c8474b9eb77fe2e00289c.tar.gz
qemu-1f40ace7b5634f93801c8474b9eb77fe2e00289c.tar.bz2
tests: Fix a bug with count variables
The counting code here should use the local variable n_nodes_local. Otherwise, the variable n_nodes is counting incorrectly, causing the counting logic of the code to be wrong. Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Link: https://lore.kernel.org/r/20200207115433.118254-1-tianjia.zhang@linux.alibaba.com Message-Id: <20200207115433.118254-1-tianjia.zhang@linux.alibaba.com>
Diffstat (limited to 'python/qemu/accel.py')
0 files changed, 0 insertions, 0 deletions