Configure Memory Balloon for PowerKVM

Memory ballooning allows the guest memory to be changed dynamically by the host, depending on the amount of free memory available.

To enable ballooning edit XML file.

<devices>
<memballoon model=’virtio’/>
</devices>

virsh # list
Id    Name                           State
—————————————————-
2     rhel65             running

virsh # ^C
[root@powerkvm ~]# virsh qemu-monitor-command –domain 2 –hmp ‘info balloon’
balloon: actual=2048

To change balloon pages

[root@powerkvm ~]# virsh qemu-monitor-command –domain 2 –hmp ‘ balloon 4096’
[root@powerkvm ~]# virsh qemu-monitor-command –domain 2 –hmp ‘info balloon’
balloon: actual=4096

 

Advertisements

One thought on “Configure Memory Balloon for PowerKVM

  1. Pingback: Bring Up PowerKVM | Pradeep K Surisetty

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s