Repost of
http://www.redhat.com/archives/libvir-list/2010-February/msg00177.html
The virsh output is now scaled to show KB/MB as needed, instead of
always bytes.
The public API gained extra status
VIR_DOMAIN_JOB_COMPLETED = 3, /* Job has finished, but isn't cleaned up */
VIR_DOMAIN_JOB_FAILED = 4, /* Job hit error, but isn't cleaned up */
VIR_DOMAIN_JOB_CANCELLED = 6, /* Job was aborted, but isn't cleaned up */
to allow to more easily detecting end of a job, once we allow
for truely async usage