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

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



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 outscale com>
> ---
>  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


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