Skip to content
Snippets Groups Projects
Commit 8210f5f6 authored by Xiaoqiang Zhao's avatar Xiaoqiang Zhao Committed by Paolo Bonzini
Browse files

doc/memory.txt: correct a logic error


In the regions overlap example, region B has a higher priority thus
should has a larger priority number than C.

Signed-off-by: default avatarxiaoqiang zhao <zxq_yx_007@163.com>
Message-Id: <1456476051-15121-1-git-send-email-zxq_yx_007@163.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 778d9f9b
No related branches found
No related tags found
No related merge requests found
......@@ -180,8 +180,8 @@ aliases that leave holes then the lower priority region will appear in these
holes too.)
For example, suppose we have a container A of size 0x8000 with two subregions
B and C. B is a container mapped at 0x2000, size 0x4000, priority 1; C is
an MMIO region mapped at 0x0, size 0x6000, priority 2. B currently has two
B and C. B is a container mapped at 0x2000, size 0x4000, priority 2; C is
an MMIO region mapped at 0x0, size 0x6000, priority 1. B currently has two
of its own subregions: D of size 0x1000 at offset 0 and E of size 0x1000 at
offset 0x2000. As a diagram:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment