qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v8 07/13] dump: add members to DumpState and ini


From: Laszlo Ersek
Subject: Re: [Qemu-devel] [PATCH v8 07/13] dump: add members to DumpState and init some of them
Date: Wed, 29 Jan 2014 15:11:04 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131118 Thunderbird/17.0.11

On 01/28/14 07:22, qiaonuohan wrote:
> add some members to DumpState that will be used in writing vmcore in
> kdump-compressed format. some of them, like page_size, will be initialized
> in the patch.
> 
> Signed-off-by: Qiao Nuohan <address@hidden>
> ---
>  dump.c                |   28 ++++++++++++++++++++++++++++
>  include/sysemu/dump.h |    7 +++++++
>  2 files changed, 35 insertions(+), 0 deletions(-)
> 

> +static void get_max_mapnr(DumpState *s)
> +{
> +    GuestPhysBlock *last_block;
> +
> +    last_block = QTAILQ_LAST(&s->guest_phys_blocks.head, GuestPhysBlockHead);
> +    s->max_mapnr = paddr_to_pfn(last_block->target_end, s->page_shift);
> +}
> +

Reviewed-by: Laszlo Ersek <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]