cpu_weight is now an int, not a float.
authorEwan Mellor <ewan@xensource.com>
Wed, 8 Nov 2006 12:26:34 +0000 (12:26 +0000)
committerEwan Mellor <ewan@xensource.com>
Wed, 8 Nov 2006 12:26:34 +0000 (12:26 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendConfig.py

index 32d9f906ac4793c449cced3535f41e87d7c136af..68d4e48ec6065561744d0a7c1cfd58c22ca33c0d 100644 (file)
@@ -142,7 +142,7 @@ ROUNDTRIPPING_CONFIG_ENTRIES = [
     ('uuid',       str),
     ('vcpus',      int),
     ('vcpu_avail', int),
-    ('cpu_weight', float),
+    ('cpu_weight', int),
     ('memory',     int),
     ('shadow_memory', int),
     ('maxmem',     int),