-
- Downloads
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: 46343570 ("vhost+postcopy: Wire up POSTCOPY_END notify") Fixes: f82c1116 ("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 c4f75385) Signed-off-by:
Michael Roth <mdroth@linux.vnet.ibm.com>
Please register or sign in to comment