summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMichael S. Tsirkin2019-07-25 13:54:25 +0200
committerMichael S. Tsirkin2019-07-25 17:19:25 +0200
commit1b47b37c33ec01ae1efc527f4c97f97f93723bc4 (patch)
treec70b28a0172c77bafd665a70b5f0c901c9380bb4 /docs
parentvirtio-balloon: don't track subpages for the PBP (diff)
downloadqemu-1b47b37c33ec01ae1efc527f4c97f97f93723bc4.tar.gz
qemu-1b47b37c33ec01ae1efc527f4c97f97f93723bc4.tar.xz
qemu-1b47b37c33ec01ae1efc527f4c97f97f93723bc4.zip
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: ed48c59875b6 ("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>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions