<div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23px;">Hi All:</div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23px;">    In recent days, I have studied the libvirt event model, but found nothing I wanted.</div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23px;">    In my requirement, I want to get the progress of long operations,especially snapshot taking and revcovering.</div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23px;">    Today, I studied how virsh migrate command realised, I found that the process of migration is getted by job infomation.</div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23px;"><span style="line-height: 1.5;">But when i taking snapshot the domain's control state is </span><a id="VIR_DOMAIN_CONTROL_OCCUPIED" name="VIR_DOMAIN_CONTROL_OCCUPIED" style="outline: none; text-decoration: underline; cursor: pointer; color: rgb(153, 0, 0); line-height: 1.5;">VIR_DOMAIN_CONTROL_OCCUPIED, not expected </a><a id="VIR_DOMAIN_CONTROL_JOB" name="VIR_DOMAIN_CONTROL_JOB" style="outline: none; text-decoration: underline; cursor: pointer; color: rgb(153, 0, 0); line-height: 1.5;">VIR_DOMAIN_CONTROL_JOB status,</a></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23px;">So i can't get any job information(all values are zero).</div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23px;"><span style="line-height: 1.5;">    Are there any other methods to get the progress of long operation?</span></div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23px;"><span style="line-height: 1.5;">    Thank you !<span id="_editor_bookmark_start_0" style="display: none; line-height: 0px;">‍</span></span></div></div><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "380372671";<380372671@qq.com>;</div><div><b>发送时间:</b> 2014年11月7日(星期五) 晚上9:24</div><div><b>收件人:</b> "libvir-list"<libvir-list@redhat.com>; <wbr></div><div></div><div><b>主题:</b> How do  I get  the  progress of a long operation</div></div><div><br></div>Dear Libvirt:<div>      How do  I get  the  progress of a long operation (such as Snapshot take and recover )through libvirt API?</div><div>      Thankyou.<span id="_editor_bookmark_start_0" style="display: none; line-height: 0px;">‍</span></div></div>