Certain guests (only Linux at the moment) have a balloon driver, so the host can have the guest allocate a certain amount of memory which the guest won't be able to use anymore and it can then be freed on the host.
Below command gives the information regarding free memory. Using balloon command you can change guest machine to change it’s memory allocation to the specified amount in MB which is 800MB in the below example.
(qemu) info balloon
The syntax for the command to actually perform memory ballooning is as follows.
(qemu) balloon 800
No comments:
Post a Comment