Parcourir la source

utils/QubesWatch: provide domain UUID to domain_callback

Marek Marczykowski-Górecki il y a 9 ans
Parent
commit
01e208d5ec
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      core/qubesutils.py

+ 1 - 1
core/qubesutils.py

@@ -810,7 +810,7 @@ class QubesWatch(object):
             # ignore other events for now
             return None
         if self.domain_callback:
-            self.domain_callback(name=domain.name())
+            self.domain_callback(name=domain.name(), uuid=domain.UUID())
 
     def _device_removed(self, conn, domain, device, param):
         if self.block_callback is not None: