[vbox-dev] VDCopy() fix for VHD, change progress callback percent to float?

Klaus Espenlaub Klaus.Espenlaub at Sun.COM
Thu Oct 8 17:12:08 GMT 2009


Huihong Luo wrote:
> a related issue, wonder if you like the idea of changing VDCopy 
> callbacks to float/double percentage? right now, it's an int, the 1st 1% 
> may takes more than 3 mins, not user friendly to update the progress bar

The progress bar _is_ linear with the offset in the target image. The 
non-linearity you might observe is most likely a side-effect of dynamic 
images. Reading/writing them is extremely fast if there is just zeroes 
in a certain area. Any good ideas how to address this in an image format 
independent way would be highly appreciated.

Klaus




More information about the vbox-dev mailing list