diff --git a/qubes/vm/qubesvm.py b/qubes/vm/qubesvm.py index 7181fd38..a94cdf27 100644 --- a/qubes/vm/qubesvm.py +++ b/qubes/vm/qubesvm.py @@ -1670,7 +1670,7 @@ class QubesVM(qubes.vm.BaseVM): '''Create entries in Qubes DB. ''' self.qdb.write("/name", self.name) - self.qdb.write("/qubes-vm-type", self.type) + self.qdb.write("/qubes-vm-type", self.__class__.__name__) self.qdb.write("/qubes-vm-updateable", str(self.updateable)) if self.provides_network: