[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [XEND][LIFECYCLE] Configurable storage path for lifecycle support
# HG changeset patch # User acnt2@xxxxxxxxxxxxxxxxxxxxxxxx # Node ID 32d074ff02ee802fc25f37fe0de8fc8bdd80af5c # Parent c11e827d6ac647b255919deaf369e8a3b863e6c3 [XEND][LIFECYCLE] Configurable storage path for lifecycle support Signed-off-by: Alastair Tse <atse@xxxxxxxxxxxxx> --- tools/python/xen/xend/XendRoot.py | 8 ++++++++ 1 files changed, 8 insertions(+) diff -r c11e827d6ac6 -r 32d074ff02ee tools/python/xen/xend/XendRoot.py --- a/tools/python/xen/xend/XendRoot.py Thu Oct 05 17:29:19 2006 +0100 +++ b/tools/python/xen/xend/XendRoot.py Thu Oct 05 17:29:19 2006 +0100 @@ -92,6 +92,9 @@ class XendRoot: dom0_min_mem_default = '0' dom0_vcpus_default = '0' + + """Default session storage path.""" + xend_domains_path_default = '/var/lib/xend/domains' components = {} @@ -237,6 +240,11 @@ class XendRoot: """ return self.get_config_value("xend-unix-path", self.xend_unix_path_default) + def get_xend_domains_path(self): + """ Get the path for persistent domain configuration storage + """ + return self.get_config_value("xend-domains-path", self.xend_domains_path_default) + def get_network_script(self): """@return the script used to alter the network configuration when Xend starts and stops, or None if no such script is specified.""" _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |