From 69e0b94c74df1af332032c1754189f35c499655f Mon Sep 17 00:00:00 2001 From: Wojtek Porczyk Date: Tue, 29 Dec 2015 02:27:46 +0100 Subject: [PATCH] Fix for UUID management This fixes up 75c3f355db "qubes/vm/qubesvm: fix domain's UUID management". Previously 'domain-init' was never really fired. fixes QubesOS/qubes-issues#1557 --- qubes/vm/qubesvm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qubes/vm/qubesvm.py b/qubes/vm/qubesvm.py index a25828b0..d2acf2a2 100644 --- a/qubes/vm/qubesvm.py +++ b/qubes/vm/qubesvm.py @@ -513,6 +513,8 @@ class QubesVM(qubes.vm.BaseVM): self.storage = qubes.storage.get_storage(self) # fire hooks + if xml is None: + self.events_enabled = True self.fire_event('domain-init')