[libvirt] [PATCH 05/11] Switch the virsh XML generation to use virBuffer instead of virAsprintf

2010-11-12 Thread Daniel P. Berrange
The code generating XML for storage pool source discovery is hardcoded to only allow a hostname and optional port number. Refactor this code to make it easier to add support for extra parameters. * tools/virsh.c: Refactor XML generator --- tools/virsh.c | 26 ++ 1 files

Re: [libvirt] [PATCH 05/11] Switch the virsh XML generation to use virBuffer instead of virAsprintf

2010-11-19 Thread Eric Blake
On 11/12/2010 09:22 AM, Daniel P. Berrange wrote: > The code generating XML for storage pool source discovery is > hardcoded to only allow a hostname and optional port number. > Refactor this code to make it easier to add support for extra > parameters. > > * tools/virsh.c: Refactor XML generator