Revision 2a7e887b

b/lib/hypervisor/hv_kvm.py
194 194
    while arg_list:
195 195
      arg =  arg_list.pop(0)
196 196
      if arg == '-m':
197
        memory = arg_list.pop(0)
197
        memory = int(arg_list.pop(0))
198 198
      elif arg == '-smp':
199
        vcpus = arg_list.pop(0)
199
        vcpus = int(arg_list.pop(0))
200 200

  
201 201
    return (instance_name, pid, memory, vcpus, stat, times)
202 202

  

Also available in: Unified diff