Thanks, applied.

On Wed, Oct 31, 2012 at 9:49 AM, Jan Kiszka <jan.kis...@siemens.com> wrote:
> This makes "info mtree" output readable again.
>
> Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>
> ---
>  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
>

Reply via email to