Commit 5ea57598 by Guba Sándor

vmdriver: added default flags for older libvirt

parent 63c4ce39
......@@ -186,7 +186,7 @@ def create(vm_desc):
sock.close()
except socket.error:
logging.error('Unable to connect to context server')
return domain_info(vm.name)
return xml
class shutdown(AbortableTask):
......@@ -363,7 +363,7 @@ def reset(name):
"""
domain = lookupByName(name)
domain.reset()
domain.reset(0)
return _parse_info(domain.info())
......@@ -377,7 +377,7 @@ def reboot(name):
"""
domain = lookupByName(name)
domain.reboot()
domain.reboot(0)
return _parse_info(domain.info())
......
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