Commit 0f512eeb by Bach Dániel

fix collect_vms()

parent 606df697
...@@ -145,7 +145,7 @@ class Client: ...@@ -145,7 +145,7 @@ class Client:
for entry in psutil.get_process_list(): for entry in psutil.get_process_list():
try: try:
if entry.name == 'kvm': if entry.name in ('kvm', 'qemu-system-x86_64'):
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument('-name') parser.add_argument('-name')
parser.add_argument('--memory-size', '-m ', type=int) parser.add_argument('--memory-size', '-m ', type=int)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment