Files
qemu/hw/virtio
Michael S. Tsirkin c6b77a64b4 virtio-balloon: free pbp more aggressively
Previous patches switched to a temporary pbp but that does not go far
enough: after device uses a buffer, guest is free to reuse it, so
tracking the page and freeing it later is wrong.

Free and reset the pbp after we push each element.

Fixes: ed48c59875 ("virtio-balloon: Safely handle BALLOON_PAGE_SIZE < host page size")
Cc: qemu-stable@nongnu.org #v4.0.0
Cc: David Hildenbrand <david@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 1b47b37c33)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2019-07-30 12:46:52 -05:00
..
2018-05-23 03:14:41 +03:00
2017-08-02 00:13:25 +03:00
2018-03-01 18:26:17 +02:00
2018-11-27 15:35:15 +01:00