projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' into next
[ganeti-local]
/
lib
/
hypervisor
/
hv_kvm.py
diff --git
a/lib/hypervisor/hv_kvm.py
b/lib/hypervisor/hv_kvm.py
index
ee33894
..
3dec178
100644
(file)
--- a/
lib/hypervisor/hv_kvm.py
+++ b/
lib/hypervisor/hv_kvm.py
@@
-194,9
+194,9
@@
class KVMHypervisor(hv_base.BaseHypervisor):
while arg_list:
arg = arg_list.pop(0)
if arg == '-m':
- memory = arg_list.pop(0)
+ memory = int(arg_list.pop(0))
elif arg == '-smp':
- vcpus = arg_list.pop(0)
+ vcpus = int(arg_list.pop(0))
return (instance_name, pid, memory, vcpus, stat, times)