Re: [PATCH] qemu: add the missing jobinfo type in qemuDomainGetJobInfo

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

 



On Tue, Nov 25, 2014 at 19:51:45 +0800, Wang Rui wrote:
> Commit 6fcddfcd refactored job statistics but missed the jobinfo type updated
> in qemuDomainGetJobInfo. After this patch, we can use virDomainGetJobInfo to
> get jobinfo type again.
> 
> Signed-off-by: Wang Rui <moon.wangrui@xxxxxxxxxx>
> ---
>  src/qemu/qemu_domain.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
> index 334bd40..6513c78 100644
> --- a/src/qemu/qemu_domain.c
> +++ b/src/qemu/qemu_domain.c
> @@ -258,6 +258,7 @@ int
>  qemuDomainJobInfoToInfo(qemuDomainJobInfoPtr jobInfo,
>                          virDomainJobInfoPtr info)
>  {
> +    info->type = jobInfo->type;
>      info->timeElapsed = jobInfo->timeElapsed;
>      info->timeRemaining = jobInfo->timeRemaining;
>  

Oops. ACK and I will push the patch soon.

Jirka

--
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]