From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
This fixes a symptom I've seen on vhost-user on aarch64 where the
daemon would be falsely notified of memory region changes that didn't
exist.
The underlying problem was me memcmp'ing MemoryRegionSections even
though they had padding in.
(Discovered while getting virtiofs working on aarch)
Dave
v2
Split 1st patch and fix spelling [Philippe's review]
Dr. David Alan Gilbert (3):
memory: Align MemoryRegionSections fields
memory: Provide an equality function for MemoryRegionSections
vhost: Fix memory region section comparison
hw/virtio/vhost.c | 9 +++++++--
include/exec/memory.h | 14 +++++++++++++-
2 files changed, 20 insertions(+), 3 deletions(-)
--
2.21.0