<div>Hi Daniel,</div>
<div> </div>
<div>Adding to trailing mail. We are currently using below qemu version on our Hardware</div>
<div>qemu-kvm-0.14.1-1</div>
<div> </div>
<div>Will there be any change to test with the newer version  qemu.</div>
<div> </div>
<div>Thanks</div>
<div>Abhinay<br><br></div>
<div class="gmail_quote">On Thu, Aug 22, 2013 at 5:44 PM, arun abhinay <span dir="ltr"><<a href="mailto:arun.abhinay@gmail.com" target="_blank">arun.abhinay@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div dir="ltr">
<div>Hi Daniel,</div>
<div> </div>
<div>Thanks a lot for providing us your pointers. From the domain.xml(attached in my previous mail) which we have used for defining virtual guest i can see below lines</div>
<div><span style="COLOR:rgb(0,0,255)"><span><emulator>/usr/local/bin/qemu-</span></span><span style="COLOR:rgb(0,0,255)"><span>system-x86_64</emulator></span></span><br><br></div>
<div>We were using same domain.xml in eralier libvirt version and the execution of cpu_stats command was successful. Now if we have to get "cpu_stats" command working using QEMU emulator on libvirt can you suggest what can we do. <br>
<br>I have found below links on google while checking for the vcpu pid's error<br><a href="https://www.redhat.com/archives/libvir-list/2013-June/msg00214.html" target="_blank">https://www.redhat.com/archives/libvir-list/2013-June/msg00214.htm</a></div>

<div><a href="https://www.redhat.com/archives/libvir-list/2013-June/msg00385.html" target="_blank"></a></div>
<div><a href="https://www.redhat.com/archives/libvir-list/2012-August/msg01405.html" target="_blank">https://www.redhat.com/archives/libvir-list/2012-August/msg01405.html</a></div>
<div><a href="https://www.redhat.com/archives/libvir-list/2012-August/msg01413.html" target="_blank">https://www.redhat.com/archives/libvir-list/2012-August/msg01413.html</a><br><br><br></div>
<div>Can you let us know if any of the above patches fix our issue. <br><br></div>
<div>Thanks<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">
<div>Abhinay<br></div></font></span>
<div>
<div class="h5">
<div class="gmail_quote">On Thu, Aug 22, 2013 at 3:19 PM, Daniel P. Berrange <span dir="ltr"><<a href="mailto:berrange@redhat.c" target="_blank">berrange@redhat.c</a></span></div>
<div class="gmail_quote"><span dir="ltr">om></span> wrote:<br></div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>On Thu, Aug 22, 2013 at 03:04:41PM +0200, arun abhinay wrote:<br>> Hi Daniel,<br>><br></div>
<div>> Thanks for your immidiate reply. The starting of virtual guest was ok on<br>> our machine. We are facing this issue while executing the "cpu-stats<br>> <domain name>" command.<br>> I have collected the debug logs as you suggested and attaching the same.<br>
<br></div>The cpu-stats command relies on the vCPU cgroups existing. These are<br>created when the guest starts. So the fact that cpu-stats can't find<br>the cgroups shows that something failed during startup.<br><br>
<br>Your log file shows this:<br><br>2013-08-22 12:45:44.326+0000: 17554: warning : qemuSetupCgroupForVcpu:953 : Unable to get vcpus' pids.^M<br><br>which is the root cause of your problems.<br><br>If libvirt can't find the vcpu PIDs, this suggests that your guests are<br>
running using QEMU TCG instead of KVM.<br>
<div>
<div><br>Daniel<br>--<br>|: <a href="http://berrange.com/" target="_blank">http://berrange.com</a>      -o-    <a href="http://www.flickr.com/photos/dberrange/" target="_blank">http://www.flickr.com/photos/dberrange/</a> :|<br>
|: <a href="http://libvirt.org/" target="_blank">http://libvirt.org</a>              -o-             <a href="http://virt-manager.org/" target="_blank">http://virt-manager.org</a> :|<br>|: <a href="http://autobuild.org/" target="_blank">http://autobuild.org</a>       -o-         <a href="http://search.cpan.org/~danberr/" target="_blank">http://search.cpan.org/~danberr/</a> :|<br>
|: <a href="http://entangle-photo.org/" target="_blank">http://entangle-photo.org</a>       -o-       <a href="http://live.gnome.org/gtk-vnc" target="_blank">http://live.gnome.org/gtk-vnc</a> :|<br></div></div></blockquote>
<br></div></div></div></blockquote></div><br>