WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Remove a number of unused configuration d

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Remove a number of unused configuration dictionaries -- these have all
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Dec 2006 10:50:23 +0000
Delivery-date: Fri, 15 Dec 2006 02:50:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID 5c8522bda6296a9e3e485a875a9076d31de760f1
# Parent  85c1e2383e98cdddfa50b80a3a73dfbe05af9d71
Remove a number of unused configuration dictionaries -- these have all
moved into XendConfig now.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendDomainInfo.py |   59 --------------------------------
 1 files changed, 59 deletions(-)

diff -r 85c1e2383e98 -r 5c8522bda629 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Thu Dec 14 15:32:44 2006 +0000
+++ b/tools/python/xen/xend/XendDomainInfo.py   Thu Dec 14 17:37:29 2006 +0000
@@ -57,65 +57,6 @@ xroot = XendRoot.instance()
 
 log = logging.getLogger("xend.XendDomainInfo")
 #log.setLevel(logging.TRACE)
-
-
-def bool0(v):
-    return v != "0" and bool(v)
-
-
-##
-# All parameters of VMs that may be configured on-the-fly, or at start-up.
-# 
-VM_CONFIG_PARAMS = [
-    ('name',        str),
-    ('on_poweroff', str),
-    ('on_reboot',   str),
-    ('on_crash',    str),
-    ]
-
-
-##
-# Configuration entries that we expect to round-trip -- be read from the
-# config file or xc, written to save-files (i.e. through sxpr), and reused as
-# config on restart or restore, all without munging.  Some configuration
-# entries are munged for backwards compatibility reasons, or because they
-# don't come out of xc in the same form as they are specified in the config
-# file, so those are handled separately.
-ROUNDTRIPPING_CONFIG_ENTRIES = [
-    ('uuid',            str),
-    ('vcpus',           int),
-    ('vcpu_avail',      int),
-    ('cpu_cap',         int),
-    ('cpu_weight',      int),
-    ('memory',          int),
-    ('shadow_memory',   int),
-    ('maxmem',          int),
-    ('bootloader',      str),
-    ('bootloader_args', str),
-    ('features',        str),
-    ('localtime',       bool0),
-    ]
-
-ROUNDTRIPPING_CONFIG_ENTRIES += VM_CONFIG_PARAMS
-
-
-##
-# All entries written to the store.  This is VM_CONFIG_PARAMS, plus those
-# entries written to the store that cannot be reconfigured on-the-fly.
-#
-VM_STORE_ENTRIES = [
-    ('uuid',          str),
-    ('vcpus',         int),
-    ('vcpu_avail',    int),
-    ('memory',        int),
-    ('shadow_memory', int),
-    ('maxmem',        int),
-    ('start_time',    float),
-    ('on_xend_start', str),
-    ('on_xend_stop', str),
-    ]
-
-VM_STORE_ENTRIES += VM_CONFIG_PARAMS
 
 
 #

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Remove a number of unused configuration dictionaries -- these have all, Xen patchbot-unstable <=