diff options
| author | Michael S. Tsirkin <mst@redhat.com> | 2019-07-25 07:54:25 -0400 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2019-07-25 11:19:25 -0400 |
| commit | 1b47b37c33ec01ae1efc527f4c97f97f93723bc4 (patch) | |
| tree | c70b28a0172c77bafd665a70b5f0c901c9380bb4 /tests/qemu-iotests/common.pattern | |
| parent | 9a7ca8a7c920360db9dcaf616ca6f1440c025043 (diff) | |
| download | focaccia-qemu-1b47b37c33ec01ae1efc527f4c97f97f93723bc4.tar.gz focaccia-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 'tests/qemu-iotests/common.pattern')
0 files changed, 0 insertions, 0 deletions