From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZOCi-0003TB-2t for qemu-devel@nongnu.org; Mon, 06 May 2013 12:23:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZOCh-0005Wd-08 for qemu-devel@nongnu.org; Mon, 06 May 2013 12:23:56 -0400 Sender: Paolo Bonzini From: Paolo Bonzini Date: Mon, 6 May 2013 18:23:38 +0200 Message-Id: <1367857418-14832-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH] docs: mention AddressSpaces in docs/memory.txt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, david@gibson.dropbear.id.au Reported-by: David Gibson Signed-off-by: Paolo Bonzini --- docs/memory.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/memory.txt b/docs/memory.txt index 5bbee8e..feb9fe9 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 ---------------- -- 1.8.2