Statistics
| Branch: | Revision:

root / hw / virtio-balloon.h @ a46007a0

History | View | Annotate | Download (904 Bytes)

# Date Author Comment
2d72c572 05/15/2009 12:35 am Paul Brook

Virtio-balloon qdev conversion

Signed-off-by: Paul Brook <>

bd322087 12/04/2008 10:33 pm aliguori

Add virtio-balloon support

This adds a VirtIO based balloon driver. It uses madvise() to actually balloon
the memory when possible.

Until 2.6.27, KVM forced memory pinning so we must disable ballooning unless the
kernel actually supports it when using KVM. It's always safe when using TCG....