summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-05-06 18:23:38 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2013-05-12 13:25:55 +0400
commit2d40178a33293603a06fdf3c0fd9988322bc5fda (patch)
tree9da89a96db417848103bfec51702662c92f889f5 /docs
parent59d827629360097caa9a4f160680affde84cb4c8 (diff)
downloadqemu-2d40178a33293603a06fdf3c0fd9988322bc5fda.tar.gz
docs: mention AddressSpaces in docs/memory.txt
Reported-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'docs')
-rw-r--r--docs/memory.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/memory.txt b/docs/memory.txt
index 5bbee8e85d..feb9fe90d7 100644
--- a/docs/memory.txt
+++ b/docs/memory.txt
@@ -15,10 +15,13 @@ The memory model provides support for
- setting up coalesced memory for kvm
- setting up ioeventfd regions for kvm
-Memory is modelled as a tree (really acyclic graph) of MemoryRegion objects.
-The root of the tree is memory as seen from the CPU's viewpoint (the system
-bus). Nodes in the tree represent other buses, memory controllers, and
-memory regions that have been rerouted. Leaves are RAM and MMIO regions.
+Memory is modelled as an acyclic graph of MemoryRegion objects. Sinks
+(leaves) are RAM and MMIO regions, while other nodes represent
+buses, memory controllers, and memory regions that have been rerouted.
+
+In addition to MemoryRegion objects, the memory API provides AddressSpace
+objects for every root and possibly for intermediate MemoryRegions too.
+These represent memory as seen from the CPU or a device's viewpoint.
Types of regions
----------------