Skip to content

Commit

Permalink
Merge pull request #2101 from sathnaga/fixup_numa
Browse files Browse the repository at this point in the history
Fixup: unsupported operand type for vcpus
  • Loading branch information
Balamuruhan S authored Jun 4, 2019
2 parents 8e0f9a3 + ffe5888 commit 3852a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virttest/libvirt_vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ def add_numa():
cells += "%s," % cell % (cellid, value[0], cellid, cellid, cellid, value[1])
else:
# Lets calculate and assign the node cpu and memory
vcpus = params.get("smp")
vcpus = int(params.get("smp"))
vcpu_max_cpus = params.get("vcpu_maxcpus")
max_mem = int(params.get("mem")) * 1024
maxmemory = params.get("maxmemory", None)
Expand Down

0 comments on commit 3852a5c

Please sign in to comment.