Works for me, but I need to send a stats-polling-interval != from the start stats-polling-interval (maybe it's not resend to the balloon driver if the value is equal)
Don't know why balloon device works differently on windows, but it seem to get the stats-polling-interval value, only when windows is fully started. working (started with interval=2) -------------------------------- (QEMU) qom-get path=/machine/peripheral/balloon0 property=stats-polling-interval {u'return': 2} (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-set path=/machine/peripheral/balloon0 property=stats-polling-interval value=3 {u'return': {}} (QEMU) qom-get path=/machine/peripheral/balloon0 property=stat-free-memory {u'return': 1765240832} non working (started with interval=2) ------------------------------------ (QEMU) qom-get path=/machine/peripheral/balloon0 property=stats-polling-interval {u'return': 2} (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-set path=/machine/peripheral/balloon0 property=stats-polling-interval value=2 {u'return': {}} (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'"}} ----- Mail original ----- De: "Dietmar Maurer" <diet...@proxmox.com> À: "Alexandre DERUMIER" <aderum...@odiso.com>, pve-devel@pve.proxmox.com Envoyé: Mercredi 19 Décembre 2012 12:45:31 Objet: RE: [pve-devel] balloon stats on win2008r2 working that does not work here :-/ > -----Original Message----- > From: pve-devel-boun...@pve.proxmox.com [mailto:pve-devel- > boun...@pve.proxmox.com] On Behalf Of Alexandre DERUMIER > Sent: Mittwoch, 19. Dezember 2012 12:05 > To: pve-devel@pve.proxmox.com > Subject: [pve-devel] balloon stats on win2008r2 working > > - I have just installed a win2008R2 (X64) > > install ballon driver > > -go to hardware devices management, find pci device without driver. > -> update driver->choose disk > > then using 0.48 virtio driver, choose the whl directory > > > > then install service (I put files in c:\program files\balloon) > > #cd c:\program files\balloon > #blnsrv --install > > #reboot > > then stats works > > (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': 10} > (QEMU) qom-get path=/machine/peripheral/balloon0 property=stats- > polling-interval > {u'return': 10} > (QEMU) qom-get path=/machine/peripheral/balloon0 property=stats-last- > update > {u'return': 1355914831} > (QEMU) qom-get path=/machine/peripheral/balloon0 property=stats-last- > update > {u'return': 1355914841} > (QEMU) qom-get path=/machine/peripheral/balloon0 property=stat-free- > memory > {u'return': 1765306368} > (QEMU) qom-get path=/machine/peripheral/balloon0 property=stat-total- > memory > {u'return': 2147074048} > (QEMU) qom-get path=/machine/peripheral/balloon0 property=stat-swap-in > {u'return': 2440} > (QEMU) qom-get path=/machine/peripheral/balloon0 property=stat-swap- > out > {u'return': 0} > (QEMU) > > > I didn't have tested it with setting polling interval at start, I'll try with > your last > qemu-serve today > > _______________________________________________ > pve-devel mailing list > pve-devel@pve.proxmox.com > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel