diff options
author | David Hildenbrand <david@redhat.com> | 2024-02-14 16:16:55 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-03-12 17:56:55 -0400 |
commit | 9c254cb413a631f6601e6e34429547759d7d63a6 (patch) | |
tree | 97e6d5cd8a2553ed28e0d46e629d00f291bd1aec /README.rst | |
parent | c6f90b785291389168b15fe797788bcbb5a7803a (diff) |
libvhost-user: Don't search for duplicates when removing memory regions
We cannot have duplicate memory regions, something would be deeply
flawed elsewhere. Let's just stop the search once we found an entry.
We'll add more sanity checks when adding memory regions later.
Reviewed-by: Raphael Norwitz <raphael@enfabrica.net>
Acked-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20240214151701.29906-9-david@redhat.com>
Tested-by: Mario Casquero <mcasquer@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'README.rst')
0 files changed, 0 insertions, 0 deletions