[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] memory: Don't dump disabled regions
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] [PATCH] memory: Don't dump disabled regions |
Date: |
Sat, 10 Nov 2012 19:29:14 +0000 |
Thanks, applied.
On Wed, Oct 31, 2012 at 9:49 AM, Jan Kiszka <address@hidden> wrote:
> This makes "info mtree" output readable again.
>
> Signed-off-by: Jan Kiszka <address@hidden>
> ---
> memory.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/memory.c b/memory.c
> index 243cb23..d5150f8 100644
> --- a/memory.c
> +++ b/memory.c
> @@ -1590,7 +1590,7 @@ static void mtree_print_mr(fprintf_function mon_printf,
> void *f,
> const MemoryRegion *submr;
> unsigned int i;
>
> - if (!mr) {
> + if (!mr || !mr->enabled) {
> return;
> }
>
> --
> 1.7.3.4
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH] memory: Don't dump disabled regions,
Blue Swirl <=