<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 08/29/2012 03:26 PM, Wen Congyang
wrote:<br>
</div>
<blockquote cite="mid:503DC414.5010906@cn.fujitsu.com" type="cite">
<pre wrap="">At 08/29/2012 02:40 PM, Li, Chun Wen Wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi, all
I test virsh comand "domjobinfo" on x86-i386 and PPC64 host. But Both
get nothing.
# virsh version
Compiled against library: libvir 0.9.13
Using library: libvir 0.9.13
Using API: QEMU 0.9.13
Running hypervisor: QEMU 1.1.50
# virsh list
Id Name State
----------------------------------------------------
21 f16-ppc-qcow2 running
22 f16-blkiotune running
23 f16-device-attach running
# virsh domjobinfo 21
Job type: None
But I have run two jobs on domain 21
[root@localhost ~]# jobs
[1]- Stopped top
[2]+ Stopped vi install.log
I searched the domjobinfo patch gave by Daniel P. Berrange, he said "
This series introduces 2 new APIs to allow long running jobs to be
monitored and cancelled. "
Dose domjobinfo only monitor some special jobs in guest? Or does I miss
something?
</pre>
</blockquote>
<pre wrap="">
The job is not in the guest. It is a job that operates the guest on the
host side and may take long time, for example: dump, save, migrate.
</pre>
</blockquote>
Thanks a lot, I use managedsave and check domjobinfo success!
<p align="LEFT"># virsh
managedsave 27 --bypass-cache & </p>
<p align="LEFT">[1] 57314
</p>
<p align="LEFT"># virsh
domjobinfo 27
</p>
<p align="LEFT">Job type: Unbounded </p>
<p align="LEFT">Time elapsed: 2601 ms
</p>
<p align="LEFT">Data processed: 161.611 MiB
</p>
<p align="LEFT">Data remaining: 312.422 MiB
</p>
<p align="LEFT">Data total: 1.000 GiB
</p>
<p align="LEFT">Memory processed: 161.611 MiB
</p>
<p align="LEFT">Memory remaining: 312.422 MiB
</p>
<p align="LEFT">Memory total: 1.000 GiB
</p>
<title></title>
<meta name="GENERATOR" content="LibreOffice 3.4 (Linux)">
<style type="text/css">
<!--
@page { margin: 0.79in }
TD P { margin-bottom: 0in }
P { margin-bottom: 0.08in }
-->
</style>
<blockquote cite="mid:503DC414.5010906@cn.fujitsu.com" type="cite">
<pre wrap="">
Thanks
Wen Congyang
</pre>
<blockquote type="cite">
<pre wrap="">
Thanks & Regards
Kimi Li
_______________________________________________
libvirt-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/libvirt-users">https://www.redhat.com/mailman/listinfo/libvirt-users</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>