mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
qemu: add the missing jobinfo type in qemuDomainGetJobInfo
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@huawei.com> Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
5e5cf8e0ff
commit
64b84911ce
@ -258,6 +258,7 @@ int
|
|||||||
qemuDomainJobInfoToInfo(qemuDomainJobInfoPtr jobInfo,
|
qemuDomainJobInfoToInfo(qemuDomainJobInfoPtr jobInfo,
|
||||||
virDomainJobInfoPtr info)
|
virDomainJobInfoPtr info)
|
||||||
{
|
{
|
||||||
|
info->type = jobInfo->type;
|
||||||
info->timeElapsed = jobInfo->timeElapsed;
|
info->timeElapsed = jobInfo->timeElapsed;
|
||||||
info->timeRemaining = jobInfo->timeRemaining;
|
info->timeRemaining = jobInfo->timeRemaining;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user