[pve-devel] pve-manager : expose balloon to gui

Alexandre DERUMIER aderumier at odiso.com
Tue Dec 18 17:31:37 CET 2012


oh, I found my ballon devices twice in windows....(don't know if it's because of an upgrade of the balloon code...)

I have delete both, then restart, windows detect it and reinstall it cleanly,

and now it's working

(QEMU) qom-get path=/machine/peripheral/balloon0 property=stats-polling-interval
{u'return': 0}
(QEMU) qom-set path=/machine/peripheral/balloon0 property=stats-polling-interval value=10
{u'return': {}}
(QEMU) qom-get path=/machine/peripheral/balloon0 property=stats-polling-interval
{u'return': 10}
(QEMU) qom-get path=/machine/peripheral/balloon0 property=stat-free-memory
{u'return': 2147483647}
(QEMU) qom-get path=/machine/peripheral/balloon0 property=stat-total-memory
{u'return': 2147483647}



I'll do test with win2008R2 tomorrow



----- Mail original ----- 

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "Dietmar Maurer" <dietmar at proxmox.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Mardi 18 Décembre 2012 15:57:54 
Objet: Re: [pve-devel] pve-manager : expose balloon to gui 

I have just redone tests on my win2003, with last pve-qemu-kvm, it doesn't work anymore .... 

(QEMU) qom-get path=/machine/peripheral/balloon0 property=stats-polling-interval 
{u'return': 0} 
(QEMU) qom-set path=/machine/peripheral/balloon0 property=stats-polling-interval value=10 
{u'return': {}} 
(QEMU) qom-get path=/machine/peripheral/balloon0 property=stats-polling-interval 
{u'return': 10} 
(QEMU) qom-get path=/machine/peripheral/balloon0 property=stat-free-memory 
{u'error': {u'class': u'GenericError', u'desc': u"timer hasn't been enabled or guest doesn't support 'stat-free-memory'"}} 
(QEMU) qom-get path=/machine/peripheral/balloon0 property=stats-last-update 
{u'return': 1355842494} 
(QEMU) qom-get path=/machine/peripheral/balloon0 property=stat-total-memory 
{u'error': {u'class': u'GenericError', u'desc': u"timer hasn't been enabled or guest doesn't support 'stat-total-memory'"}} 
(QEMU) 


... 

it was working fine with qemu 1.3 + 2 firsts balloon stats patchs from qemu mailing. 

Maybe something have changed ? 



----- Mail original ----- 

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "Dietmar Maurer" <dietmar at proxmox.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Mardi 18 Décembre 2012 15:31:50 
Objet: Re: [pve-devel] pve-manager : expose balloon to gui 

I'll do some tests with win2008. 

(I was also sending stats-polling-interval each second with pvestatd because I didn't work at start, but I think you have corrected that) 


Does manual balloning work ? Is it only a stats problem ? 


----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Mardi 18 Décembre 2012 15:22:55 
Objet: RE: [pve-devel] pve-manager : expose balloon to gui 

> >>What guest OS (windows version) and what binaries virtio drivers do you 
> use exactly? 
> I have tested it with win2003 R2 SP2 X64, with virtio build48 
> (http://people.redhat.com/vrozenfe/build-48/) 
> 
> ballon driver install: 
> 
> devcon install BALLOON.inf 
> "PCI\VEN_1AF4&DEV_1002&SUBSYS_00051AF4&REV_00" 
> 
> then install the service: (as administrator) blnsrv.exe --install 
> 
> and check that the balloon service is running. 

I tested with w2008r2 and win8 - but I can't get that to work. 

balloon driver is loaded, and blnsrv is running - but no stats :-/ 
_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



More information about the pve-devel mailing list