Eric Blake
1b5c8d4cbc
storage: expose volume meta-type in XML
...
I got annoyed at having to use both 'virsh vol-list $pool --details'
AND 'virsh vol-dumpxml $vol $pool' to learn if I had populated
the volume correctly. Since two-thirds of the data present in
virStorageVolGetInfo() already appears in virStorageVolGetXMLDesc(),
this just adds the remaining piece of information, as:
<volume type='...'>
...
</volume>
* docs/formatstorage.html.in: Document new <volume type=...>.
* docs/schemas/storagevol.rng (vol): Add it to RelaxNG.
* src/conf/storage_conf.h (virStorageVolTypeToString): Declare.
* src/conf/storage_conf.c (virStorageVolTargetDefFormat): Output
the metatype.
(virStorageVolDefParseXML): Parse it, for unit tests.
* tests/storagevolxml2xmlout/vol-*.xml: Update tests to match.
Signed-off-by: Eric Blake <eblake@redhat.com>
2013-11-25 10:55:19 -07:00
..
2013-10-29 07:06:04 -06:00
2013-09-05 12:31:10 +01:00
2013-11-07 18:43:15 +01:00
2013-11-07 18:43:15 +01:00
2013-09-17 17:47:33 -06:00
2013-09-17 17:47:33 -06:00
2013-09-17 17:47:33 -06:00
2013-11-05 16:04:06 +01:00
2013-11-08 09:44:36 +01:00
2013-11-25 10:44:46 -05:00
2012-10-19 17:35:09 -06:00
2013-11-21 17:29:47 -07:00
2013-11-21 17:29:47 -07:00
2013-11-25 10:55:19 -07:00
2013-11-25 10:55:19 -07:00
2013-10-15 16:59:43 -04:00
2013-11-06 09:34:17 +01:00
2013-09-30 16:58:37 -05:00
2013-10-15 11:39:02 +01:00
2013-10-15 11:39:02 +01:00
2013-10-21 14:03:52 +01:00
2013-10-14 14:34:37 -06:00
2013-10-09 17:44:45 +02:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-11-20 12:35:44 +01:00
2013-10-08 12:39:30 +01:00
2013-11-07 18:43:15 +01:00
2013-11-08 09:44:36 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-11-25 10:44:46 -05:00
2013-10-30 17:02:12 -06:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-11-19 16:30:28 +01:00
2013-10-08 12:39:30 +01:00
2013-10-21 14:03:52 +01:00
2013-10-01 10:48:47 +02:00
2013-11-20 14:31:17 -05:00
2013-11-11 16:01:25 +01:00
2013-10-08 12:39:30 +01:00
2013-09-17 16:45:53 +02:00
2013-10-07 08:40:30 -06:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-11 11:05:06 +02:00
2013-10-08 12:39:30 +01:00
2013-11-21 17:29:47 -07:00
2013-10-08 12:39:30 +01:00
2013-11-21 17:29:47 -07:00
2013-11-20 09:14:55 -07:00
2013-09-13 10:25:56 +02:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-09-02 16:53:39 -04:00
2013-10-08 12:39:30 +01:00
2013-11-20 09:14:55 -07:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-11-20 09:14:55 -07:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-14 11:40:24 -06:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-14 10:31:01 +01:00
2013-10-08 12:39:30 +01:00
2013-09-24 09:37:26 +01:00
2013-10-08 12:39:30 +01:00
2013-10-21 14:03:52 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-11-07 11:13:46 +01:00
2013-11-06 09:34:17 +01:00
2013-11-18 12:28:07 +01:00
2013-09-13 10:25:56 +02:00
2013-10-24 11:17:41 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-09-20 12:38:24 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00
2013-10-08 12:39:30 +01:00