virtio-balloon: deflate via a page list
authorLiang Li <liang.z.li@intel.com>
Wed, 12 Jul 2017 12:40:14 +0000 (20:40 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 25 Jul 2017 13:37:35 +0000 (16:37 +0300)
commit195a8c43e93d8cec3256f4433f641bd4db35e23c
tree8c5bdcb160e4500918306eeb611e55e92ca98854
parentf53d5aa050dafe19bb4a1e37d73880aee2490a68
virtio-balloon: deflate via a page list

This patch saves the deflated pages to a list, instead of the PFN array.
Accordingly, the balloon_pfn_to_page() function is removed.

Signed-off-by: Liang Li <liang.z.li@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Wei Wang <wei.w.wang@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_balloon.c