[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [PATCH v1 0/4] virtio-balloon: support free page reporting
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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]