libvirt/src/xenconfig
Michal Privoznik 484f7d0069 xenFormatXLDisk: Unify commas pattern for arguments
instead of:

  virBufferAdd(buf, "arg1,");
  virBufferAdd(buf, "arg2");

lets have:

  virBufferAdd(buf, "arg1");
  virBufferAdd(buf, ",arg2");

Because it's better. Consider we want to add conditionally arg3.
With this change, it's simple:

  if (cond)
    virBufferAdd(buf, ",arg3");

with current code there might be a comma hanging at EOL.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2016-10-24 06:12:23 +02:00
..
xen_common.c xenconfig: rm format/parse multi serial for xen-xm 2016-09-02 12:46:02 -06:00
xen_common.h conf: Add private data for virDomainVcpuDef 2016-07-11 10:44:04 +02:00
xen_sxpr.c Introduce virDomainChrSourceDefNew for virDomainChrDefPtr 2016-10-21 14:03:36 -04:00
xen_sxpr.h xenconfig: support vif bandwidth in sexpr parser and formatter 2016-01-08 18:56:00 -07:00
xen_xl.c xenFormatXLDisk: Unify commas pattern for arguments 2016-10-24 06:12:23 +02:00
xen_xl.h Xen: xenconfig: remove xendConfigVersion from public functions 2015-12-17 21:22:33 -07:00
xen_xm.c virDomainDefPostParse: Introduce @parseOpaque argument 2016-09-26 16:50:12 +02:00
xen_xm.h Xen: xenconfig: remove xendConfigVersion from public functions 2015-12-17 21:22:33 -07:00
xenxs_private.h Xen: VIR_FROM_THIS cleanup 2016-01-21 09:31:39 -07:00