mirror of
https://github.com/mii443/qemu.git
synced 2025-08-23 15:48:20 +00:00
'fd' received from the vhost side is never freed. Also, everything (including 'postcopy_listen' state) should be cleaned up on vhost cleanup. Fixes:46343570c0
("vhost+postcopy: Wire up POSTCOPY_END notify") Fixes:f82c11165f
("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 commitc4f753859a
) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>