qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/3] Fix MemoryRegionSection alignment and comparison
@ 2019-08-14 17:55 Dr. David Alan Gilbert (git)
  2019-08-14 17:55 ` [Qemu-devel] [PATCH v2 1/3] memory: Align MemoryRegionSections fields Dr. David Alan Gilbert (git)
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Dr. David Alan Gilbert (git) @ 2019-08-14 17:55 UTC (permalink / raw)
  To: qemu-devel, pbonzini, mst
  Cc: peter.maydell, maxime.coquelin, marcandre.lureau

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



^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PULL 0/3] vhost: fixes
@ 2019-09-25 14:30 Michael S. Tsirkin
  2019-09-27 10:10 ` Peter Maydell
  0 siblings, 1 reply; 10+ messages in thread
From: Michael S. Tsirkin @ 2019-09-25 14:30 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Maydell

A very quiet cycle. Did I miss a bunch of patches? if so, let me know.

The following changes since commit 240ab11fb72049d6373cbbec8d788f8e411a00bc:

  Merge remote-tracking branch 'remotes/aperard/tags/pull-xen-20190924' into staging (2019-09-24 15:36:31 +0100)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream

for you to fetch changes up to 3fc4a64cbaed2ddee4c60ddc06740b320e18ab82:

  vhost: Fix memory region section comparison (2019-09-25 10:16:39 -0400)

----------------------------------------------------------------
vhost: fixes

Misc fixes related to memory region handling.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

----------------------------------------------------------------
Dr. David Alan Gilbert (3):
      memory: Align MemoryRegionSections fields
      memory: Provide an equality function for MemoryRegionSections
      vhost: Fix memory region section comparison

 include/exec/memory.h | 14 +++++++++++++-
 hw/virtio/vhost.c     |  9 +++++++--
 2 files changed, 20 insertions(+), 3 deletions(-)



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-09-27 15:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-14 17:55 [Qemu-devel] [PATCH v2 0/3] Fix MemoryRegionSection alignment and comparison Dr. David Alan Gilbert (git)
2019-08-14 17:55 ` [Qemu-devel] [PATCH v2 1/3] memory: Align MemoryRegionSections fields Dr. David Alan Gilbert (git)
2019-09-25 14:30   ` [PULL " Michael S. Tsirkin
2019-08-14 17:55 ` [Qemu-devel] [PATCH v2 2/3] memory: Provide an equality function for MemoryRegionSections Dr. David Alan Gilbert (git)
2019-09-25 14:30   ` [PULL " Michael S. Tsirkin
2019-08-14 17:55 ` [Qemu-devel] [PATCH v2 3/3] vhost: Fix memory region section comparison Dr. David Alan Gilbert (git)
2019-09-25 14:30   ` [PULL " Michael S. Tsirkin
2019-08-15  2:16 ` [Qemu-devel] [PATCH v2 0/3] Fix MemoryRegionSection alignment and comparison no-reply
2019-09-25 14:30 [PULL 0/3] vhost: fixes Michael S. Tsirkin
2019-09-27 10:10 ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).