[libvirt] [PATCH 0/1] Fix encryption XML indentation

David Allan dallan at redhat.com
Sat Apr 24 03:09:00 UTC 2010


The following patch fixes the storage XML indentation problem caused by my earlier patch to fix domain XML indentation problems.  I liked the style of Laine's suggestion of passing in the number of spaces to indent, so I adopted that approach.  I also added a regression test for the domain XML.

Dave


David Allan (1):
  Fix indentation for storage conf XML

 src/conf/domain_conf.c                             |    2 +-
 src/conf/storage_conf.c                            |    2 +-
 src/conf/storage_encryption_conf.c                 |   16 +++++++----
 src/conf/storage_encryption_conf.h                 |    3 +-
 .../qemuxml2argv-encrypted-disk.args               |    1 +
 .../qemuxml2argv-encrypted-disk.xml                |   27 ++++++++++++++++++++
 tests/qemuxml2xmltest.c                            |    2 +
 7 files changed, 44 insertions(+), 9 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-encrypted-disk.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-encrypted-disk.xml




More information about the libvir-list mailing list