qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/6] Rework vhost memory region updates
@ 2017-12-13 18:08 Dr. David Alan Gilbert (git)
  2017-12-13 18:08 ` [Qemu-devel] [PATCH v4 1/6] vhost: Move log_dirty check Dr. David Alan Gilbert (git)
                   ` (5 more replies)
  0 siblings, 6 replies; 24+ messages in thread
From: Dr. David Alan Gilbert (git) @ 2017-12-13 18:08 UTC (permalink / raw)
  To: qemu-devel, pbonzini, imammedo; +Cc: maxime.coquelin, mst, groug

From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>

Hi,
  This patch set reworks the way the vhost code handles changes in
physical address space layout that came from a discussion with Igor.
 
Its intention is to simplify a lot of the update code,
and to make it easier for the postcopy+shared code to
do the hugepage alignments that are needed.
 
Instead of inserting/removing each section during the add/del
callbacks of the listener, we start afresh and build a list
from the add and nop callbacks, then at the end compare the list
we've built with the exisiting list.
 
v4
  Rework based on comments from Paolo; now using add/nop rather
  than doing another flatview walk.
 
Dave

Dr. David Alan Gilbert (6):
  vhost: Move log_dirty check
  vhost: Simplify ring verification checks
  vhost: Add temporary memory structure
  vhost: add regions to temporary list
  vhost: compare and flip in new memory region list
  vhost: Clean out old vhost_set_memory and friends

 hw/virtio/trace-events    |   6 +
 hw/virtio/vhost.c         | 426 +++++++++++++++-------------------------------
 include/hw/virtio/vhost.h |   4 +-
 3 files changed, 146 insertions(+), 290 deletions(-)

-- 
2.14.3

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

end of thread, other threads:[~2018-01-09 18:42 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-13 18:08 [Qemu-devel] [PATCH v4 0/6] Rework vhost memory region updates Dr. David Alan Gilbert (git)
2017-12-13 18:08 ` [Qemu-devel] [PATCH v4 1/6] vhost: Move log_dirty check Dr. David Alan Gilbert (git)
2017-12-14 14:30   ` Igor Mammedov
2017-12-14 15:20     ` Dr. David Alan Gilbert
2017-12-15 10:01       ` Igor Mammedov
2017-12-27 12:10       ` Igor Mammedov
2018-01-09 18:42         ` Dr. David Alan Gilbert
2017-12-13 18:08 ` [Qemu-devel] [PATCH v4 2/6] vhost: Simplify ring verification checks Dr. David Alan Gilbert (git)
2017-12-14 14:07   ` Igor Mammedov
2017-12-15 12:24     ` Dr. David Alan Gilbert
2017-12-13 18:08 ` [Qemu-devel] [PATCH v4 3/6] vhost: Add temporary memory structure Dr. David Alan Gilbert (git)
2017-12-14 15:15   ` Igor Mammedov
2017-12-15 13:15     ` Dr. David Alan Gilbert
2017-12-13 18:08 ` [Qemu-devel] [PATCH v4 4/6] vhost: add regions to temporary list Dr. David Alan Gilbert (git)
2017-12-13 21:31   ` Paolo Bonzini
2017-12-14 15:53     ` Dr. David Alan Gilbert
2017-12-14 15:27   ` Igor Mammedov
2017-12-14 18:43     ` Michael S. Tsirkin
2017-12-18 20:29       ` Dr. David Alan Gilbert
2017-12-15 13:30     ` Dr. David Alan Gilbert
2017-12-15 14:50       ` Paolo Bonzini
2017-12-15 16:11         ` Dr. David Alan Gilbert
2017-12-13 18:08 ` [Qemu-devel] [PATCH v4 5/6] vhost: compare and flip in new memory region list Dr. David Alan Gilbert (git)
2017-12-13 18:08 ` [Qemu-devel] [PATCH v4 6/6] vhost: Clean out old vhost_set_memory and friends Dr. David Alan Gilbert (git)

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).