memory: Provide an equality function for MemoryRegionSections
commit9366cf02e4e31c2a8128904d4d8290a0fad5f888
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 14 Aug 2019 17:55:34 +0000 (14 18:55 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 25 Sep 2019 14:15:59 +0000 (25 10:15 -0400)
tree8694ca013068005c5fd7b57fd526a4d71fcde7fb
parent44f85d3276397cfa2cfa379c61430405dad4e644
memory: Provide an equality function for MemoryRegionSections

Provide a comparison function that checks all the fields are the same.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190814175535.2023-3-dgilbert@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/exec/memory.h