kvm-guest-drivers-windows icon indicating copy to clipboard operation
kvm-guest-drivers-windows copied to clipboard

baloon driver: free-page-reporting support

Open JuniorJPDJ opened this issue 1 year ago • 6 comments

Linux kernel driver supports it since 5.7 release (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b0c504f154718904ae49349147e3b7e6ae91ffdc). It allows QEMU to free unused guest memory on host side and allows overcommiting memory.

Other sources:

  • https://gitlab.com/libvirt/libvirt/-/commit/fee8a61d29542ace0bfaec13126d3b93414f2342
  • https://libvirt.org/formatdomain.html#memory-balloon-device -> freePageReporting

JuniorJPDJ avatar Apr 05 '23 22:04 JuniorJPDJ

Adding it to the list of future features

YanVugenfirer avatar Apr 25 '23 09:04 YanVugenfirer

any plan?

ferodevil avatar Jul 04 '24 07:07 ferodevil

A low-priority issue for us for now. It is not planned until Windows Server 2025 is released.

YanVugenfirer avatar Jul 04 '24 07:07 YanVugenfirer

qemu have hv-balloon now, it seems better than virtio-balloon, still we need virtio-balloon, any suggestion?

ferodevil avatar Jul 04 '24 08:07 ferodevil

It depends on your setup. You can choose to use hv-baloon or virtio-mem.

YanVugenfirer avatar Jul 04 '24 08:07 YanVugenfirer

OK,thanks

ferodevil avatar Jul 04 '24 08:07 ferodevil