I can't seem to make sense of the documentation in the Virtualbox manual (chapters 4 + 9) and there doesn't seem to be any answers or working examples to this question on the internet.
NOTE - this is just a test. I do not intend to keep these VMs. I want to experiment with memory ballooning in Virtualbox.
My setup:
Host: Ubuntu desktop 16.10 64bit 64GB RAM
VMs:
- VM1: Ubuntu server 16.04LTS 64bit - VBox guest additions - 16GB RAM
- VM2: Ubuntu desktop 16.04LTS 64bit - VBox guest additions - 500MB RAM
Goal:
VM1 to share unused RAM with VM2.
--------------------
I have currently tried:
Code: Select all
vboxmanage modifyvm vm1 guestmemoryballoon 10000From here I don't know what to do next to get VM2 to use any of the spare memory from VM1. The manual does not say. I have tried running:
Code: Select all
VBoxManage controlvm vm2 guestmemoryballoon 400I have also tried to use VBoxBalloonCtrl but this does not seem to do anything except print to the terminal notices about timeouts for all of my Virtualbox machines:
Code: Select all
vboxballoonctrl --balloon-max 400 -vIf anyone has any working examples of how to give VM2 some extra memory from the VM1's balloon then that would be great. I'm at a loss on how this works!
Thanks!