History | View | Annotate | Download (904 Bytes)
Virtio-balloon qdev conversion
Signed-off-by: Paul Brook <paul@codesourcery.com>
Add virtio-balloon support
This adds a VirtIO based balloon driver. It uses madvise() to actually balloonthe memory when possible.
Until 2.6.27, KVM forced memory pinning so we must disable ballooning unless thekernel actually supports it when using KVM. It's always safe when using TCG....