qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] doc/memory.txt: correct a logic error
@ 2016-02-26  8:40 xiaoqiang zhao
  2016-02-26 10:25 ` Peter Maydell
  2016-03-03 14:39 ` Paolo Bonzini
  0 siblings, 2 replies; 4+ messages in thread
From: xiaoqiang zhao @ 2016-02-26  8:40 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell, pbonzini

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 <zxq_yx_007@163.com>
---
 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:
 
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] doc/memory.txt: correct a logic error
  2016-02-26  8:40 [Qemu-devel] [PATCH] doc/memory.txt: correct a logic error xiaoqiang zhao
@ 2016-02-26 10:25 ` Peter Maydell
  2016-02-26 10:36   ` hitmoon
  2016-03-03 14:39 ` Paolo Bonzini
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Maydell @ 2016-02-26 10:25 UTC (permalink / raw)
  To: xiaoqiang zhao; +Cc: Paolo Bonzini, QEMU Developers

On 26 February 2016 at 08:40, xiaoqiang zhao <zxq_yx_007@163.com> 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 <zxq_yx_007@163.com>
> ---
>  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:

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

I suspect I was thinking of other systems where lower numbers are higher
priorities...

thanks
-- PMM

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] doc/memory.txt: correct a logic error
  2016-02-26 10:25 ` Peter Maydell
@ 2016-02-26 10:36   ` hitmoon
  0 siblings, 0 replies; 4+ messages in thread
From: hitmoon @ 2016-02-26 10:36 UTC (permalink / raw)
  To: Peter Maydell; +Cc: Paolo Bonzini, QEMU Developers



在 2016年02月26日 18:25, Peter Maydell 写道:
> On 26 February 2016 at 08:40, xiaoqiang zhao <zxq_yx_007@163.com> 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 <zxq_yx_007@163.com>
>> ---
>>   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:
> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
>
> I suspect I was thinking of other systems where lower numbers are higher
> priorities...
>
> thanks
> -- PMM
Well, it's not consistency.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] doc/memory.txt: correct a logic error
  2016-02-26  8:40 [Qemu-devel] [PATCH] doc/memory.txt: correct a logic error xiaoqiang zhao
  2016-02-26 10:25 ` Peter Maydell
@ 2016-03-03 14:39 ` Paolo Bonzini
  1 sibling, 0 replies; 4+ messages in thread
From: Paolo Bonzini @ 2016-03-03 14:39 UTC (permalink / raw)
  To: xiaoqiang zhao, qemu-devel; +Cc: peter.maydell



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 <zxq_yx_007@163.com>
> ---
>  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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-03 14:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-26  8:40 [Qemu-devel] [PATCH] doc/memory.txt: correct a logic error xiaoqiang zhao
2016-02-26 10:25 ` Peter Maydell
2016-02-26 10:36   ` hitmoon
2016-03-03 14:39 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).