<div>Hi Martin,</div>
<div> </div>
<div>Thanks for your reply. We have tried applying the patch as mentioned in link <a href="https://www.redhat.com/archives/libvir-list/2013-August/msg01246.html" target="_blank">https://www.redhat.com/archives/libvir-list/2013-August/msg01246.html</a><br>
but  we could still observe this issue.</div>
<div> </div>
<div>Thanks</div>
<div>Abhinay <br><br></div>
<div class="gmail_quote">On Tue, Aug 27, 2013 at 10:04 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">
<div class="im">On Tue 27 Aug 2013 09:21:44 AM CEST, arun abhinay wrote:<br>> Hi Martin,<br>><br>> Sorry for spamming. Forgot to ask in my eralier mail.<br>><br>>>> There's also a patch<br>>>> fixing cpu-stats command, check it that helps.<br>
><br>> Is the below patch which you were refering to.<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.html</a><br>
> If not  can you provide the link for the patch which you were referring to.<br>><br><br></div>I meant<br><a href="https://www.redhat.com/archives/libvir-list/2013-August/msg01246.html" target="_blank">https://www.redhat.com/archives/libvir-list/2013-August/msg01246.html</a><br>
<span class="HOEnZb"><font color="#888888"><br>Martin<br></font></span>
<div class="HOEnZb">
<div class="h5"><br>> On Tue, Aug 27, 2013 at 9:08 AM, arun abhinay <<a href="mailto:arun.abhinay@gmail.com">arun.abhinay@gmail.com</a>>wrote:<br>><br>>> Hi Martin,<br>>><br>>> 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" target="_blank">https://www.redhat.com/archives/libvirt-users/2013-August/msg00114.html</a><br>>><br>>>>> 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>>> 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<br>>> have mailed a seperate query to you.  Yes we will make sure that such<br>>> queries are addresed to libvirt user list from next time.<br>
>><br>>>>> This basically means that you have old qemu that doesn't support (I'm<br>>>>> guesing the command now) "query-vcpus" QMP command.<br>>><br>>> I have got below information from the file "qapi-schema.json" in qemu code.<br>
>> ##<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'] }<br>>> ##<br>>><br>>> We were ealier using libvirt-1.0.2 and qemu-kvm-0.14.1-1, and the<br>>> "cpu-stats" command was working fine. We are facing this issue after<br>
>> upgrading the libvirt version to 1.0.6.  But anyways it can be a problem<br>>> with old qemu version. We are trying to compile the new libvirt 1.0.6 with<br>>> qemu-1.6.0 but we are facing some  compiling issues because of<br>
>> depedencies between latest qemu code with glib.<br>>><br>>> Please let us know your comments. Thanks in advance.<br>>><br>>> BR<br>>> Abhinay<br>>><br>>><br>>><br>>> On Tue, Aug 27, 2013 at 8:06 AM, Martin Kletzander <<a href="mailto:mkletzan@redhat.com">mkletzan@redhat.com</a>>wrote:<br>
>><br>>>> [cc'ing libvir-list]<br>>>><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><br>
>>>> wrote:<br>>>>><br>>>>>> Hi Martin/Peter,<br>>>>>><br>>>><br>>>> 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>>>><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 :<br>>>> qemuSetupCgroupForVcpu:953<br>>>>>> : Unable to get vcpus' pids<br>
>>>>><br>>>><br>>>> 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>>>><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<br>>>> 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>>>> 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>>>><br>>>> Martin<br>>>><br>>><br>>><br>
><br><br><br></div></div></blockquote></div><br>