<div>Hi Martin,</div>
<div> </div>
<div>Thanks for your reply. I have already posted this query to libvirt list. <br><a href="https://www.redhat.com/archives/libvirt-users/2013-August/msg00114.html">https://www.redhat.com/archives/libvirt-users/2013-August/msg00114.html</a></div>

<div> </div>
<div>>>Wanting to post the link here, I've found<br>>>that even the machine name is the same, so it shouldn't be a problem for<br>>>you to find it.</div>
<div> </div>
<div>Were you talking of the same link which is mentioned above.<br><br>Since the change of converting it from error to warning was done by you, i have mailed a seperate query to you.  Yes we will make sure that such queries are addresed to libvirt user list from next time.</div>

<div> </div>
<div><font color="#3333ff">>></font><font color="#000000">This basically means that you have old qemu that doesn't support (I'm<br>>>guesing the command now) "query-vcpus" QMP command. </font></div>

<div><font color="#000000"><br></font><font color="#000000">I have got below information from the file "qapi-schema.json" in qemu code.</font></div>
<div><font color="#3366ff" face="courier new,monospace">##<br># @query-cpus:<br>#<br># Returns a list of information about each virtual CPU.<br>#<br># Returns: a list of @CpuInfo for each virtual CPU<br>#<br># Since: 0.14.0<br>
##<br>{ 'command': 'query-cpus', 'returns': ['CpuInfo'] }</font></div>
<div><font color="#3366ff" face="courier new,monospace">##</font></div>
<div><font color="#3333ff"></font> </div>
<div><font color="#3333ff"><font color="#000000">We were ealier using</font> <font color="#000000">libvirt-1.0.2 and qemu-kvm-0.14.1-1, and the "cpu-stats" command was working fine. We are facing this issue after upgrading the libvirt version to 1.0.6.  But anyways it can be a problem with old qemu version. We are trying to compile the new libvirt 1.0.6 with qemu-1.6.0 but we are facing some  compiling issues because of depedencies between latest qemu code with glib.   </font></font></div>

<div> </div>
<div>Please let us know your comments. Thanks in advance.</div>
<div> </div>
<div><font color="#3333ff"><font color="#000000">BR</font></font></div>
<div><font color="#3333ff"><font color="#000000">Abhinay</font></font></div>
<div><br><br></div>
<div><font color="#3333ff"> </font></div>
<div class="gmail_quote">On Tue, Aug 27, 2013 at 8:06 AM, Martin Kletzander <span dir="ltr"><<a href="mailto:mkletzan@redhat.com" target="_blank">mkletzan@redhat.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">[cc'ing libvir-list]<br>
<div class="im"><br>On 08/26/2013 05:59 PM, arun abhinay wrote:<br>> Hi,<br>><br>> Can you please consider this is an gentle reminder for my below request.<br>><br>> Thanks<br>> Abhinay<br>><br>> On Fri, Aug 23, 2013 at 1:01 PM, arun abhinay <<a href="mailto:arun.abhinay@gmail.com">arun.abhinay@gmail.com</a>>wrote:<br>
><br>>> Hi Martin/Peter,<br>>><br><br></div>Hi,<br><br>firstly, feel free to write to the list, not just particular people.<br>There are many more people on the list that may help you.  Not<br>mentioning that those people you write might not be available, don't<br>
have time etc.<br><br>There was a similar question to the one you've asked, you could have<br>checked that out before as well and reply on it.  There's also a patch<br>fixing cpu-stats command, check it that helps.<br>

<div class="im"><br>>> In reference to<br>>> <a href="http://comments.gmane.org/gmane.comp.emulators.libvirt/62451" target="_blank">http://comments.gmane.org/gmane.comp.emulators.libvirt/62451</a><br>>><br>
>> We have created a VM on a qemu-kvm emulator using the domain.xml as<br>>> mentioned in attachment. The starting of the VM is sucessful but we are<br>>> facing issue while executing the command "cpu-stats <domain>".  While<br>
>> analysis we found below below log in libvirtd.log<br>>><br>>> 2013-08-22 12:45:44.326+0000: 17554: warning : qemuSetupCgroupForVcpu:953<br>>> : Unable to get vcpus' pids<br>>><br><br></div>
This basically means that you have old qemu that doesn't support (I'm<br>guesing the command now) "query-vcpus" QMP command.  The problem<br>probably lies somewhere else, even though my change might have caused<br>
the other part to behave differently.<br>
<div class="im"><br>>> The complete logs while starting VM and while executing the "cpu-stats"<br>>> command are attached with this mail for reference. Can you please check and<br>>> provide us some inputs or pointers to get "cpu-stats" command working.<br>
>><br>>> I am new to using libvirt. Your inputs would be of great help to us.<br>>><br>>> Libvrit and qemu-kvm verisons used are mentioned below<br>>> libvirt-1.0.6-1<br>>> qemu-kvm-0.14.1-1<br>
>><br>>> <<CLA_new-0.xml >> --> Domain.xml used to define VM<br>>> << libvirt_testing_starting_VG.log >>  --> Log while staring VM<br>>> <<libvirt_testing_cpu_stats.log >>  ---> Log while executing command<br>
>> cpu_stats.<br>>><br><br></div>According to the logs, it looks like it's completely the same like a<br>question already asked...  Wanting to post the link here, I've found<br>that even the machine name is the same, so it shouldn't be a problem for<br>
you to find it.<br><br>I'm looking  at the issue now, so I'll see what I can do, but maybe in<br>the meantime sombody else will reply.<br><span class="HOEnZb"><font color="#888888"><br>Martin<br></font></span></blockquote>
</div><br>