[pve-devel] [PATCH] qom ballon fix v2

Alexandre DERUMIER aderumier at odiso.com
Mon Mar 9 07:41:43 CET 2015


Ok,

I have redone tests, I was wrong, it's a qemu bug finally ...


I remove the proxmox patch to be sure,

start qemu with -machine  , and qom-get

when guest start
$VAR1 = {
          'last-update' => 0,
          'stats' => {
                       'stat-free-memory' => -1,
                       'stat-swap-in' => -1,
                       'stat-total-memory' => -1,
                       'stat-major-faults' => -1,
                       'stat-minor-faults' => -1,
                       'stat-swap-out' => -1
                     }
        };


then we it's loaded, it's refresh some stats, but last-update don't increase anymore

$VAR1 = {
          'last-update' => 1425882998,
          'stats' => {
                       'stat-free-memory' => -1,
                       'stat-swap-in' => '4039065379203448832',
                       'stat-total-memory' => -1,
                       'stat-major-faults' => -1,
                       'stat-minor-faults' => -1,
                       'stat-swap-out' => '-6579759055588294656'
                     }
        };



I'll open a bug to qemu mailing list.

(BTW, you can revert my qemu-server ballon fix v5 patch, because it don't work currently)


----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>, "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Lundi 9 Mars 2015 06:26:21
Objet: Re: [pve-devel] [PATCH] qom ballon fix v2

> On March 9, 2015 at 4:29 AM Alexandre DERUMIER <aderumier at odiso.com> wrote: 
> 
> 
> I'm going to make a patch, to add "actual" value to qom-get. 
> 
> I think it should be small and easy to add. 


OK, great! 




More information about the pve-devel mailing list