[Qemu-devel] [PATCH v1 0/4] virtio-balloon: support free page reporting

Wei Wang posted 4 patches 7 years, 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1516170720-4948-1-git-send-email-wei.w.wang@intel.com
Test checkpatch passed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test docker-quick@centos6 passed
Test ppc passed
Test s390x passed
balloon.c                                       |  46 ++++-
hw/virtio/virtio-balloon.c                      | 224 ++++++++++++++++++++++--
hw/virtio/virtio-pci.c                          |   3 +
include/hw/virtio/virtio-balloon.h              |  12 +-
include/migration/misc.h                        |   3 +
include/standard-headers/linux/virtio_balloon.h |   6 +
include/sysemu/balloon.h                        |  15 +-
migration/ram.c                                 |  38 +++-
8 files changed, 316 insertions(+), 31 deletions(-)
[Qemu-devel] [PATCH v1 0/4] virtio-balloon: support free page reporting
Posted by Wei Wang 7 years, 9 months ago
This is the deivce part implementation to add a new feature,
VIRTIO_BALLOON_F_FREE_PAGE_VQ to the virtio-balloon device. The device
receives the guest free page hint from the driver and clears the
corresponding bits in the dirty bitmap, so that those free pages are
not transferred to the destination. Please see the results in the
commit log of patch 1.

Link to the driver patches:
https://marc.info/?l=kvm&m=151616696828185&w=2

Wei Wang (4):
  virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ
  migration: call balloon to clear bits of free pages from dirty bitmap
  virtio-balloon: add a timer to limit the free page report wating time
  virtio-balloon: Don't skip free pages if the poison val is non-zero

 balloon.c                                       |  46 ++++-
 hw/virtio/virtio-balloon.c                      | 224 ++++++++++++++++++++++--
 hw/virtio/virtio-pci.c                          |   3 +
 include/hw/virtio/virtio-balloon.h              |  12 +-
 include/migration/misc.h                        |   3 +
 include/standard-headers/linux/virtio_balloon.h |   6 +
 include/sysemu/balloon.h                        |  15 +-
 migration/ram.c                                 |  38 +++-
 8 files changed, 316 insertions(+), 31 deletions(-)

-- 
1.8.3.1