• K
    job: Move progress fields to Job · 30a5c887
    Kevin Wolf 提交于
    BlockJob has fields .offset and .len, which are actually misnomers today
    because they are no longer tied to block device sizes, but just progress
    counters. As such they make a lot of sense in generic Jobs.
    
    This patch moves the fields to Job and renames them to .progress_current
    and .progress_total to describe their function better.
    Signed-off-by: NKevin Wolf <kwolf@redhat.com>
    Reviewed-by: NMax Reitz <mreitz@redhat.com>
    30a5c887
qemu-img.c 138.6 KB