* [Qemu-devel] qmp query-balloon return only "actual" value ?
[not found] <e3a5d4bc-9192-4d99-a30c-517826ea7c38@mailpro>
@ 2012-12-05 14:07 ` Alexandre DERUMIER
2012-12-06 12:34 ` Luiz Capitulino
0 siblings, 1 reply; 3+ messages in thread
From: Alexandre DERUMIER @ 2012-12-05 14:07 UTC (permalink / raw)
To: qemu-devel
Hi,
I'm trying to use qmp "query-balloon", to get stats,
>From Doc, I expect to have
-> { "execute": "query-balloon" }
<- {
"return":{
"actual":1073741824,
"mem_swapped_in":0,
"mem_swapped_out":0,
"major_page_faults":142,
"minor_page_faults":239245,
"free_mem":1014185984,
"total_mem":1044668416
}
}
But I got only
-> { "execute": "query-balloon" }
<- {
"return":{
"actual":1073741824,
}
}
qemu 1.3.
Guest kernels tested : 2.6.32, 3.2 and 3.5.
Does I need a more recent kernel in my guest ?
Regards,
Alexandre
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] qmp query-balloon return only "actual" value ?
2012-12-05 14:07 ` [Qemu-devel] qmp query-balloon return only "actual" value ? Alexandre DERUMIER
@ 2012-12-06 12:34 ` Luiz Capitulino
2012-12-06 12:55 ` Alexandre DERUMIER
0 siblings, 1 reply; 3+ messages in thread
From: Luiz Capitulino @ 2012-12-06 12:34 UTC (permalink / raw)
To: Alexandre DERUMIER; +Cc: qemu-devel
On Wed, 05 Dec 2012 15:07:24 +0100 (CET)
Alexandre DERUMIER <aderumier@odiso.com> wrote:
> Hi,
> I'm trying to use qmp "query-balloon", to get stats,
>
> From Doc, I expect to have
>
>
> -> { "execute": "query-balloon" }
> <- {
> "return":{
> "actual":1073741824,
> "mem_swapped_in":0,
> "mem_swapped_out":0,
> "major_page_faults":142,
> "minor_page_faults":239245,
> "free_mem":1014185984,
> "total_mem":1044668416
> }
> }
>
>
> But I got only
>
> -> { "execute": "query-balloon" }
> <- {
> "return":{
> "actual":1073741824,
> }
> }
Yes, that's correct, the doc is wrong. Balloon stats have been disabled
long ago. I've sent a series to re-enable them:
http://lists.gnu.org/archive/html/qemu-devel/2012-12/msg00287.html
I'll send a patch fixing the old doc shortly.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] qmp query-balloon return only "actual" value ?
2012-12-06 12:34 ` Luiz Capitulino
@ 2012-12-06 12:55 ` Alexandre DERUMIER
0 siblings, 0 replies; 3+ messages in thread
From: Alexandre DERUMIER @ 2012-12-06 12:55 UTC (permalink / raw)
To: Luiz Capitulino; +Cc: qemu-devel
[-- Attachment #1.1: Type: text/plain, Size: 1441 bytes --]
>>Yes, that's correct, the doc is wrong.
Oh, ok, thanks!
>>Balloon stats have been disabled
>>long ago. I've sent a series to re-enable them:
>>
>>http://lists.gnu.org/archive/html/qemu-devel/2012-12/msg00287.html
Great. I hope I'll be ready for qemu 1.4 :)
I'll send a patch fixing the old doc shortly.
Thanks for your response !
----- Mail original -----
De: "Luiz Capitulino" <lcapitulino@redhat.com>
À: "Alexandre DERUMIER" <aderumier@odiso.com>
Cc: "qemu-devel" <qemu-devel@nongnu.org>
Envoyé: Jeudi 6 Décembre 2012 13:34:23
Objet: Re: [Qemu-devel] qmp query-balloon return only "actual" value ?
On Wed, 05 Dec 2012 15:07:24 +0100 (CET)
Alexandre DERUMIER <aderumier@odiso.com> wrote:
> Hi,
> I'm trying to use qmp "query-balloon", to get stats,
>
> From Doc, I expect to have
>
>
> -> { "execute": "query-balloon" }
> <- {
> "return":{
> "actual":1073741824,
> "mem_swapped_in":0,
> "mem_swapped_out":0,
> "major_page_faults":142,
> "minor_page_faults":239245,
> "free_mem":1014185984,
> "total_mem":1044668416
> }
> }
>
>
> But I got only
>
> -> { "execute": "query-balloon" }
> <- {
> "return":{
> "actual":1073741824,
> }
> }
Yes, that's correct, the doc is wrong. Balloon stats have been disabled
long ago. I've sent a series to re-enable them:
http://lists.gnu.org/archive/html/qemu-devel/2012-12/msg00287.html
I'll send a patch fixing the old doc shortly.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-12-06 12:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <e3a5d4bc-9192-4d99-a30c-517826ea7c38@mailpro>
2012-12-05 14:07 ` [Qemu-devel] qmp query-balloon return only "actual" value ? Alexandre DERUMIER
2012-12-06 12:34 ` Luiz Capitulino
2012-12-06 12:55 ` Alexandre DERUMIER
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).