[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH] memory: Fix wrong end address dump
From: |
Duan, Zhenzhong |
Subject: |
RE: [PATCH] memory: Fix wrong end address dump |
Date: |
Fri, 22 Jul 2022 03:31:31 +0000 |
>-----Original Message-----
>From: Peter Xu <peterx@redhat.com>
>Sent: Thursday, June 23, 2022 5:05 AM
>To: Duan, Zhenzhong <zhenzhong.duan@intel.com>
>Cc: qemu-devel@nongnu.org; pbonzini@redhat.com; david@redhat.com;
>f4bug@amsat.org
>Subject: Re: [PATCH] memory: Fix wrong end address dump
>
>On Wed, Jun 22, 2022 at 05:59:12PM +0800, Zhenzhong Duan wrote:
>> The end address of memory region section isn't correctly calculated
>> which leads to overflowed mtree dump:
>>
>> Dispatch
>> Physical sections
>> ......
>> #70 @0000000000002000..0000000000011fff io [ROOT]
>> #71 @0000000000005000..0000000000005fff (noname)
>> #72 @0000000000005000..0000000000014fff io [ROOT]
>> #73 @0000000000005658..0000000000005658 vmport
>> #74 @0000000000005659..0000000000015658 io [ROOT]
>> #75 @0000000000006000..0000000000015fff io [ROOT]
>>
>> After fix:
>> #70 @0000000000002000..0000000000004fff io [ROOT]
>> #71 @0000000000005000..0000000000005fff (noname)
>> #72 @0000000000005000..0000000000005657 io [ROOT]
>> #73 @0000000000005658..0000000000005658 vmport
>> #74 @0000000000005659..0000000000005fff io [ROOT]
>> #75 @0000000000006000..000000000000ffff io [ROOT]
>>
>> Fixes: 5e8fd947e2670 ("memory: Rework "info mtree" to print flat views
>> and dispatch trees")
>> Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
>
>Reviewed-by: Peter Xu <peterx@redhat.com>
Hi,
No progress for a long time, any further comments? Thanks!
Zhenzhong
- RE: [PATCH] memory: Fix wrong end address dump,
Duan, Zhenzhong <=