[libvirt] [PATCH] Fixed dumxml of <iotune> parameters

Eric Blake eblake at redhat.com
Tue Jan 17 18:51:25 UTC 2012


s/dumxml/dumpxml/ in the subject

On 01/17/2012 07:55 AM, Martin Kletzander wrote:
> The output of dumpxml for <iotune> settings was misformatted, this
> patch just adds missing newlines.
> ---
>  src/conf/domain_conf.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
> index d474551..f84e76d 100644
> --- a/src/conf/domain_conf.c
> +++ b/src/conf/domain_conf.c
> @@ -10079,12 +10079,12 @@ virDomainDiskDefFormat(virBufferPtr buf,
>          }
> 
>          if (def->blkdeviotune.read_iops_sec) {
> -            virBufferAsprintf(buf, "        <read_iops_sec>%llu</read_iops_sec>",
> +            virBufferAsprintf(buf, "        <read_iops_sec>%llu</read_iops_sec>\n",
>                                def->blkdeviotune.read_iops_sec);
>          }
> 
>          if (def->blkdeviotune.write_iops_sec) {
> -            virBufferAsprintf(buf, "        <write_iops_sec>%llu</write_iops_sec>",
> +            virBufferAsprintf(buf, "        <write_iops_sec>%llu</write_iops_sec>\n",

ACK and pushed.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120117/0d20a94e/attachment-0001.sig>


More information about the libvir-list mailing list