Skip to content

Remove AddressSpaceOps

Avi Kivity qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10ioport: change portio_list not to use memory_region_set_offset()ioport.c ioport.h+20 -60 replies
2/10memory: remove memory_region_set_offset()memory.c memory.h+10 -250 replies
3/10memory: add shorthand for invoking a callback on all listenersmemory.c+19 -350 replies
4/10memory: switch memory listeners to a QTAILQhw/vhost.c kvm-all.c memory.c +2 more+55 -220 replies
5/10memory: code motion: move MEMORY_LISTENER_CALL()memory.c+32 -320 replies
6/10memory: move ioeventfd ops to MemoryListenerhw/vhost.c kvm-all.c memory.c +2 more+128 -560 replies
7/10memory: add a readonly attribute to MemoryRegionSectionmemory.c memory.h+7 -00 replies
8/10memory: don't pass ->readable attribute to cpu_register_physical_memory_logexec-obsolete.h exec.c memory.c+4 -40 replies
9/10memory: use a MemoryListener for core memory map updates tooexec-obsolete.h exec.c memory.c+79 -262 replies
10/10memory: drop AddressSpaceOpsmemory.c+2 -540 replies

Reviews trailers per patch

None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRichard Henderson
SeriesR-b
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/10] Remove AddressSpaceOps

This patchset makes the memory core (memory.c) talk to the backend (in exec.c) via a MemoryListener instead of named functions.

While the motivation for this is to simplify the memory core, it also enables optimizing accelerators some more (by having a tcg MemoryListener to do tcg specific core) and allows unit testing of memory.c (by adding a testing MemoryListener and seeing what it outputs as various inputs are fed into the core).

Avi Kivity (10):
ioport: change portio_list not to use memory_region_set_offset()
memory: remove memory_region_set_offset()
memory: add shorthand for invoking a callback on all listeners
memory: switch memory listeners to a QTAILQ
memory: code motion: move MEMORY_LISTENER_CALL()
memory: move ioeventfd ops to MemoryListener
memory: add a readonly attribute to MemoryRegionSection
memory: don't pass ->readable attribute to
cpu_register_physical_memory_log
memory: use a MemoryListener for core memory map updates too
memory: drop AddressSpaceOps

 exec-obsolete.h |    5 +-
 exec.c          |   77 +++++++++++++++-
 hw/vhost.c      |   15 +++
 ioport.c        |   25 ++++-
 ioport.h        |    1 +
 kvm-all.c       |   79 +++++++++++++++
 memory.c        |  288 ++++++++++++++++++-------------------------------------
 memory.h        |   19 ++--
 xen-all.c       |   15 +++
 9 files changed, 310 insertions(+), 214 deletions(-)
Signature · 1 line
1.7.9