From 5ae9f98c8c91676c39cbee0e554482df20badd05 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Thu, 12 Apr 2012 15:51:10 +0200 Subject: [PATCH] dom0/core: do not fail on VM shutdown in QubesWatch --- dom0/qvm-core/qubesutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0/qvm-core/qubesutils.py b/dom0/qvm-core/qubesutils.py index e1c4a808..d9602fe9 100644 --- a/dom0/qvm-core/qubesutils.py +++ b/dom0/qvm-core/qubesutils.py @@ -401,7 +401,7 @@ class QubesWatch(object): for i in only_in_first_list(xid_list, self.watch_tokens_vbd.keys()): #new domain has been created watch = QubesWatch.WatchType(self.block_callback, i) - self.watch_tokens_block[i] = watch + self.watch_tokens_vbd[i] = watch self.xs.watch(self.get_vbd_key(i), watch) for i in only_in_first_list(self.watch_tokens_vbd.keys(), xid_list): #domain destroyed