diff --git a/qubesadmin/vm/__init__.py b/qubesadmin/vm/__init__.py index 67eb1f1..11abc2a 100644 --- a/qubesadmin/vm/__init__.py +++ b/qubesadmin/vm/__init__.py @@ -86,6 +86,9 @@ class QubesVM(qubesadmin.base.PropertyHolder): return self.name == other return NotImplemented + def __hash__(self): + return hash(self.name) + def start(self): ''' Start domain.