summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2012-02-28 21:16:28 -0700
committerEric Blake <eblake@redhat.com>2012-03-07 18:24:43 -0700
commitcb7583e161570a8ae5dfdf83635f797edc7e77c2 (patch)
tree347657597e880014ccddcd4478a2a5752f6b9b38 /tests/xmconfigdata/test-fullvirt-old-cdrom.xml
parentutil: new function for scaling numbers (diff)
downloadlibvirt-cb7583e161570a8ae5dfdf83635f797edc7e77c2.tar.gz
libvirt-cb7583e161570a8ae5dfdf83635f797edc7e77c2.tar.bz2
libvirt-cb7583e161570a8ae5dfdf83635f797edc7e77c2.zip
xml: share 'unit' in RNG
The code supported unit='E' for "exabyte", but the RNG did not; conversely, the RNG supported "z" and "y" but the code did not (I'm jealous if you have that much storage, particularly since it won't fit in 64-bit off_t). Also, the code supported <allocation unit='...'>, but not the RNG. In an effort to make 'unit' more worthwhile in future patches, it's easier to share it between files. In making this factorization, note that absFilePath is more permissive than 'path', so storage pools and storage volumes will now validate with a wider set of file names than before. I don't think this should be a problem in practice. * docs/schemas/storagepool.rng: Include basic types, rather than repeating things here. * docs/schemas/storagevol.rng: Likewise. * docs/schemas/basictypes.rng: Add 'unsignedLong', 'unit', and fix to match storage code.
Diffstat (limited to 'tests/xmconfigdata/test-fullvirt-old-cdrom.xml')
0 files changed, 0 insertions, 0 deletions