Hello Hans,

please have a look at the manual, section 4.9.1 "Memory ballooning" and
commands like

VBoxManage controlvm "VM name" guestmemoryballoon <n>

VBoxManage modifyvm "VM name" --guestmemoryballoon <n>

There is also a frontend called VBoxBalloonCtrl in our tree which can be
used to control those values. This also could act as an example about
how to use ballooning / the API.

Hope this helps,
Andreas





Kind regards / Mit freundlichen Grüßen

******************************************************************
Andreas Löffler             | VirtualBox Engineering
Principal Software Engineer | Oracle Virtualization

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Nederland, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher

Green Oracle <http://www.oracle.com/commitment>
Oracle is committed to developing practices and products that
help protect the environment




On 25.07.2017 11:40, Hans de Goede wrote:
> Hi,
> 
> I would like to test the (Linux guest) memory balloon code.
> 
> Is there anything I can do to explicitly make the host request
> the guest to give up some memory through the balloon ?
> 
> Regards,
> 
> Hans
> _______________________________________________
> vbox-dev mailing list
> vbox-dev@virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev

Attachment: 0x6DC478CF.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
vbox-dev mailing list
vbox-dev@virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to