]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
schema: Allow > UINT_MAX KiB of memory for NUMA nodes
authorPeter Krempa <pkrempa@redhat.com>
Tue, 1 Dec 2015 13:59:47 +0000 (14:59 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 4 Dec 2015 14:21:20 +0000 (15:21 +0100)
Using more than 4TiB of memory per NUMA node would not be possible to
express in the XML without violating the schema. Not that such boxes
would be common, but we should use a longer type at this point.

The pattern is not necessary since libvirt redefines the type already in
basictypes.rng with the same pattern.

docs/schemas/domaincommon.rng

index 8d126065e3335afaa5a7e1b4ec0ebb793d9cea95..4804c692e2107ced6887ae6d6c94ec3f0c8c07c3 100644 (file)
   </define>
   <!-- Memory as an attribute is in KiB, no way to express a unit -->
   <define name="memoryKB">
-    <data type="unsignedInt">
-      <param name="pattern">[0-9]+</param>
-    </data>
+    <data type="unsignedLong"/>
   </define>
   <define name="domainName">
     <data type="string">