Forráskód Böngészése

Fixed error with asynchronous handling of VM remove and VM halting

It will hopefully fix QubesOS/qubes-issues#4163 .

references QubesOS/qubes-issues#4163
Marta Marczykowska-Górecka 5 éve
szülő
commit
20ee51f3d1
2 módosított fájl, 7 hozzáadás és 0 törlés
  1. 4 0
      qubesmanager/qube_manager.py
  2. 3 0
      test-packages/qubesadmin/exc.py

+ 4 - 0
qubesmanager/qube_manager.py

@@ -153,6 +153,10 @@ class VmRowInTable:
                 self.size_widget.update()
         except exc.QubesPropertyAccessError:
             pass
+        except exc.QubesDaemonNoResponseError:
+            # TODO: this will be fixed by a rewrite moving the event system to
+            # AdminAPI
+            pass
 
         #force re-sorting
         self.table.setSortingEnabled(True)

+ 3 - 0
test-packages/qubesadmin/exc.py

@@ -10,3 +10,6 @@ class QubesVMNotStartedError(BaseException):
 
 class QubesPropertyAccessError(BaseException):
     pass
+
+class QubesDaemonNoResponseError(BaseException):
+    pass