From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abUQ9-0004yD-6I for qemu-devel@nongnu.org; Thu, 03 Mar 2016 09:40:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abUQ4-0002xo-Kg for qemu-devel@nongnu.org; Thu, 03 Mar 2016 09:40:05 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abUQ4-0002xe-Ex for qemu-devel@nongnu.org; Thu, 03 Mar 2016 09:40:00 -0500 References: <1456476051-15121-1-git-send-email-zxq_yx_007@163.com> From: Paolo Bonzini Message-ID: <56D84CBB.40808@redhat.com> Date: Thu, 3 Mar 2016 15:39:55 +0100 MIME-Version: 1.0 In-Reply-To: <1456476051-15121-1-git-send-email-zxq_yx_007@163.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] doc/memory.txt: correct a logic error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xiaoqiang zhao , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org On 26/02/2016 09:40, xiaoqiang zhao wrote: > In the regions overlap example, region B has a higher priority thus > should has a larger priority number than C. > > Signed-off-by: xiaoqiang zhao > --- > docs/memory.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/docs/memory.txt b/docs/memory.txt > index 8745f76..d0aca05 100644 > --- a/docs/memory.txt > +++ b/docs/memory.txt > @@ -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: > > Queued for the next pull request, thanks. Paolo