Update consoled to use xs_get_domain_path and cleanup domain tracking code.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
cl349@firebug.cl.cam.ac.uk committed 2005-09-06 13:43:28 +00:00
1 parent 7b89279cfb
commit b042c7d63f
4 files changed
+135 -89

No files matched your search

+3 -3
View File
@@ -231,7 +231,7 @@ class XendDomainInfo:
DBVar('start_time', ty='float'),
DBVar('state', ty='str'),
DBVar('store_mfn', ty='long'),
DBVar('console_mfn', ty='long'),
DBVar('console_mfn', ty='long', path="console/ring-ref"),
DBVar('restart_mode', ty='str'),
DBVar('restart_state', ty='str'),
DBVar('restart_time', ty='float'),
@@ -302,7 +302,7 @@ class XendDomainInfo:
self.store_channel.saveToDB(self.db.addChild("store_channel"),
save=save)
if self.console_channel:
self.console_channel.saveToDB(self.db.addChild("console_channel"),
self.console_channel.saveToDB(self.db.addChild("console/console_channel"),
save=save)
if self.image:
self.image.exportToDB(save=save, sync=sync)
@@ -886,7 +886,7 @@ class XendDomainInfo:
"""
self.channel = self.openChannel("channel", 0, 1)
self.store_channel = self.eventChannel("store_channel")
self.console_channel = self.eventChannel("console_channel")
self.console_channel = self.eventChannel("console/console_channel")
def create_configured_devices(self):
devices = sxp.children(self.config, 'device')
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.