[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/3] Fix MemoryRegionSection alignment and compar
From: |
Dr. David Alan Gilbert (git) |
Subject: |
[Qemu-devel] [PATCH v2 0/3] Fix MemoryRegionSection alignment and comparison |
Date: |
Wed, 14 Aug 2019 18:55:32 +0100 |
From: "Dr. David Alan Gilbert" <address@hidden>
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
- [Qemu-devel] [PATCH v2 0/3] Fix MemoryRegionSection alignment and comparison,
Dr. David Alan Gilbert (git) <=