We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent faa680d commit 036efe0Copy full SHA for 036efe0
1 file changed
backend/vm_manager/vmbasic.py
@@ -241,6 +241,11 @@ def get_libvirt_domain(self):
241
def start(self):
242
xml = self.gen_xml()
243
try:
244
+ try:
245
+ self.get_libvirt_domain()
246
+ self.remove()
247
+ except libvirt.libvirtError as e:
248
+ pass
249
self.conn.defineXML(xml)
250
libvirt_domain = self.get_libvirt_domain()
251
libvirt_domain.create()
0 commit comments