From 086c41cb9f73c92b28944abcffc99c2f40b15f2c Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Wed, 1 Jun 2011 23:31:56 +0200 Subject: [PATCH] dom0 qmemman: watch /local/domain xenstore tree for new/deleted domains This is the place where _running_ domains are placed. --- dom0/qmemman/qmemman_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0/qmemman/qmemman_server.py b/dom0/qmemman/qmemman_server.py index 7dcc0325..f6b768b5 100755 --- a/dom0/qmemman/qmemman_server.py +++ b/dom0/qmemman/qmemman_server.py @@ -29,7 +29,7 @@ class WatchType: class XS_Watcher: def __init__(self): self.handle = xen.lowlevel.xs.xs() - self.handle.watch('/vm', WatchType(XS_Watcher.domain_list_changed, None)) + self.handle.watch('/local/domain', WatchType(XS_Watcher.domain_list_changed, None)) self.watch_token_dict = {} def domain_list_changed(self, param):