diff options
author | Ilya Maximets <i.maximets@samsung.com> | 2018-10-08 19:05:36 +0300 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2019-04-08 16:50:20 -0500 |
commit | a4a50214137f7f46c52fc90b6ba5f084e4f9c88e (patch) | |
tree | 4b84084d9c2581bc51bebaa554cfef826a30f6a7 /tests/qemu-iotests/003.out | |
parent | a0380bdae91be55e38af3d9e1ba30e82a5abecea (diff) |
vhost-user: Fix userfaultfd leak
'fd' received from the vhost side is never freed.
Also, everything (including 'postcopy_listen' state) should be
cleaned up on vhost cleanup.
Fixes: 46343570c06e ("vhost+postcopy: Wire up POSTCOPY_END notify")
Fixes: f82c11165ffa ("vhost+postcopy: Register shared ufd with postcopy")
Cc: qemu-stable@nongnu.org
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Message-Id: <20181008160536.6332-3-i.maximets@samsung.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
(cherry picked from commit c4f753859ae6da1aeb93cad19c586fea1925e269)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'tests/qemu-iotests/003.out')
0 files changed, 0 insertions, 0 deletions