[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]