dom0/core: do not fail on VM shutdown in QubesWatch

This commit is contained in:
Marek Marczykowski 2012-04-12 15:51:10 +02:00
parent 37c7dcc270
commit 5ae9f98c8c

View File

@ -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