diff options
author | Xueming Li <xuemingl@nvidia.com> | 2021-10-08 16:02:15 +0800 |
---|---|---|
committer | Michael Roth <michael.roth@amd.com> | 2021-10-27 11:49:50 -0500 |
commit | c18bc855ade093a1df850a01daf851c478a9cca7 (patch) | |
tree | 73dbd8c6f709a9732221dcf8c019f142f98bd392 /subprojects | |
parent | 27c6f20d9d8725ddd4d0744022c4a66ec4878c6d (diff) |
vhost-user: fix duplicated notifier MR init
In case of device resume after suspend, VQ notifier MR still valid.
Duplicated registrations explode memory block list and slow down device
resume.
Fixes: 44866521bd6e ("vhost-user: support registering external host notifiers")
Cc: tiwei.bie@intel.com
Cc: qemu-stable@nongnu.org
Cc: Yuwei Zhang <zhangyuwei.9149@bytedance.com>
Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Message-Id: <20211008080215.590292-1-xuemingl@nvidia.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit a1ed9ef1de87c3e86ff68589604298ec90875a14)
Signed-off-by: Michael Roth <michael.roth@amd.com>
Diffstat (limited to 'subprojects')
0 files changed, 0 insertions, 0 deletions