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

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

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]