summary refs log tree commit diff stats
path: root/hw/pci/pci.c
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@samsung.com>2018-10-08 19:05:36 +0300
committerDr. David Alan Gilbert <dgilbert@redhat.com>2018-10-11 19:58:26 +0100
commitc4f753859ae6da1aeb93cad19c586fea1925e269 (patch)
tree33695266b813c1ef453c5e5f196ea22ba70fd4d4 /hw/pci/pci.c
parent55d0fe8254984321a126efd8db358f754737aa63 (diff)
downloadfocaccia-qemu-c4f753859ae6da1aeb93cad19c586fea1925e269.tar.gz
focaccia-qemu-c4f753859ae6da1aeb93cad19c586fea1925e269.zip
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>
Diffstat (limited to 'hw/pci/pci.c')
0 files changed, 0 insertions, 0 deletions