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
..
2012-02-01 16:28:17 -07:00
2012-02-03 15:27:16 -07:00
2012-02-03 15:27:16 -07:00
2013-07-18 12:18:24 +01:00
2013-11-25 10:55:19 -07:00
2013-05-03 15:56:15 +01:00
2013-08-09 17:13:02 +01:00
2013-10-04 13:38:57 -04:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-08-23 08:12:26 +02:00
2013-11-06 15:26:35 -07:00
2013-05-03 15:56:15 +01:00
2011-10-28 10:11:16 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-08-09 17:13:02 +01:00
2013-05-03 15:56:15 +01:00
2013-10-22 09:47:19 +01:00
2013-11-12 11:23:00 +00:00
2013-07-09 16:15:29 -06:00
2013-07-01 11:08:58 +08:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-09-12 11:48:29 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 16:58:46 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-16 16:28:53 +01:00
2013-09-29 18:40:36 +08:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-11-08 09:44:42 +01:00
2013-09-17 17:47:33 -06:00
2013-08-15 11:40:50 +02:00
2013-11-15 06:00:49 -07:00
2013-08-20 13:27:44 -04:00
2013-05-03 15:56:15 +01:00
2013-11-25 10:55:19 -07:00
2013-05-03 15:56:15 +01:00
2013-08-09 17:13:02 +01:00
2013-01-18 15:36:38 +01:00
2013-05-03 15:56:15 +01:00
2013-07-09 11:49:20 -06:00
2013-07-09 11:49:20 -06:00
2013-11-20 09:24:18 -07:00
2013-05-03 15:56:15 +01:00
2013-06-25 01:13:16 +02:00
2013-05-03 15:56:15 +01:00
2013-08-23 08:12:26 +02:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2011-10-28 10:11:16 +01:00
2012-07-23 16:07:13 -06:00
2011-10-28 10:11:16 +01:00
2012-07-23 16:07:13 -06:00
2011-10-28 10:11:16 +01:00
2012-07-23 16:07:13 -06:00
2011-10-28 10:11:16 +01:00
2012-07-23 16:07:13 -06:00
2011-10-28 10:11:16 +01:00
2012-07-23 16:07:13 -06:00
2013-03-04 17:36:03 -05:00
2013-03-04 17:36:03 -05:00
2013-10-30 17:30:12 +01:00
2012-06-18 20:10:29 +01:00
2013-05-03 15:56:15 +01:00
2013-10-22 09:47:19 +01:00
2013-09-23 14:16:45 +02:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2013-07-30 07:07:33 -06:00
2013-10-30 17:30:12 +01:00
2013-11-04 12:30:41 +08:00
2011-10-28 10:11:16 +01:00
2013-08-09 17:13:02 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2012-08-10 10:58:38 +02:00
2013-09-12 17:18:32 +08:00
2013-10-15 11:33:01 +01:00
2013-07-01 11:08:58 +08:00
2013-05-03 16:58:46 +01:00
2013-10-15 11:33:01 +01:00
2013-11-13 12:10:00 -07:00
2011-10-28 10:11:16 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-07 11:19:04 +01:00
2013-05-03 15:56:15 +01:00
2013-05-03 15:56:15 +01:00
2013-05-07 15:29:37 +01:00