Re: [PATCH 1/2] qemu: Fix copy_paste_error in qemuBuildDriveStr.

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

 



On 11/12/2014 02:04 PM, Matthias Gatto wrote:
> Fix for this: http://www.redhat.com/archives/libvir-list/2014-November/msg00324.html
> 
> Signed-off-by: Matthias Gatto <matthias.gatto@xxxxxxxxxxxx>
> ---
>  src/qemu/qemu_command.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
> index a5ed8ed..f674ba9 100644
> --- a/src/qemu/qemu_command.c
> +++ b/src/qemu/qemu_command.c
> @@ -3762,7 +3762,7 @@ qemuBuildDriveStr(virConnectPtr conn,
>                            disk->blkdeviotune.write_iops_sec_max);
>      }
>  
> -    if (disk->blkdeviotune.write_iops_sec_max) {
> +    if (disk->blkdeviotune.size_iops_sec) {
>          virBufferAsprintf(&opt, ",iops_size=%llu",
>                            disk->blkdeviotune.size_iops_sec);
>      }
> 

It would be nice to have this tested in qemuxml2argvtest.

Jan

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]