vhost: unmap log memory on cleanup
authorIlya Maximets <i.maximets@samsung.com>
Thu, 16 Jun 2016 09:16:37 +0000 (12:16 +0300)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 22 Jun 2016 07:47:12 +0000 (09:47 +0200)
commit428261b4615ecc69672b19df8b0e535a380c04d1
tree7efbb17100dae75f9156a8bb3d6ae134abac33e3
parent53af5b1e0acec5080b4928e33a127289e0a73a1e
vhost: unmap log memory on cleanup

Fixes memory leak on QEMU migration.

Fixes: 54f9e32305d4 ("vhost: handle dirty pages logging request")

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
lib/librte_vhost/vhost-net.h
lib/librte_vhost/vhost_user/virtio-net-user.c