libvirt/src/conf
David Allan 1b9347b5f1 Fix indentation for storage conf XML
* virStorageEncryptionFormat is called from both
  virDomainDiskDefFormat and virStorageVolTargetDefFormat.  The proper
  indentation in the generated XML depends on the caller.  My earlier
  patch to fix the incorrect indentation for the domain XML broke the
  indentation for the storage XML.  This patch adopts Laine's
  suggestion of requring the caller of virStorageEncryptionFormat to
  provide an unsigned int with the number of spaces the output should
  be indented.  The patch modifies both callers to provide the
  additional argument.

* Add a regression test for the domain XML

* src/conf/domain_conf.c src/conf/storage_conf.c
  src/conf/storage_encryption_conf.c src/conf/storage_encryption_conf.h:
  change the indentation code
* tests/qemuxml2xmltest.c
  tests/qemuxml2argvdata/qemuxml2argv-encrypted-disk.args
  tests/qemuxml2argvdata/qemuxml2argv-encrypted-disk.xml: add a regression test
2010-04-27 12:01:32 +02:00
..
capabilities.c Remove virConnectPtr from CPU XML APIs 2010-02-10 13:32:38 +00:00
capabilities.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
cpu_conf.c Only parse 'CPU XML' in virCPUDefParseXML() 2010-04-01 14:04:43 +02:00
cpu_conf.h Helper function for making a copy of virCPUDefPtr 2010-03-26 23:03:17 +01:00
domain_conf.c Fix indentation for storage conf XML 2010-04-27 12:01:32 +02:00
domain_conf.h Make virDomainSnapshotObjListDeinit static. 2010-04-23 14:20:56 -04:00
domain_event.c More event callback fixes 2010-04-09 16:24:28 +01:00
domain_event.h Add domain events for graphics network clients 2010-03-26 13:53:20 +00:00
interface_conf.c Use common XML parsing functions 2010-03-23 15:40:10 +01:00
interface_conf.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
network_conf.c Use common XML parsing functions 2010-03-23 15:40:10 +01:00
network_conf.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
node_device_conf.c Use common XML parsing functions 2010-03-23 15:40:10 +01:00
node_device_conf.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
nwfilter_conf.c nwfilter: enable hex number inputs in filter XML 2010-04-26 13:50:40 -04:00
nwfilter_conf.h nwfilter: enable hex number inputs in filter XML 2010-04-26 13:50:40 -04:00
nwfilter_params.c This patch removes the virConnectPtr parameter from all functions where it's not necessary starting out with removing it as a parameter to the error reporting function. 2010-04-05 12:34:55 -04:00
nwfilter_params.h This patch removes the virConnectPtr parameter from all functions where it's not necessary starting out with removing it as a parameter to the error reporting function. 2010-04-05 12:34:55 -04:00
secret_conf.c Use common XML parsing functions 2010-03-23 15:40:10 +01:00
secret_conf.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_conf.c Fix indentation for storage conf XML 2010-04-27 12:01:32 +02:00
storage_conf.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_encryption_conf.c Fix indentation for storage conf XML 2010-04-27 12:01:32 +02:00
storage_encryption_conf.h Fix indentation for storage conf XML 2010-04-27 12:01:32 +02:00