[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 6/7] goldfish_rtc: re-arm the alarm after migration
From: |
Laurent Vivier |
Subject: |
Re: [PATCH v2 6/7] goldfish_rtc: re-arm the alarm after migration |
Date: |
Sat, 23 Jan 2021 16:05:48 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
Is there someone to merge this?
Thanks,
Laurent
Le 20/12/2020 à 12:26, Laurent Vivier a écrit :
> After a migration the clock offset is updated, but we also
> need to re-arm the alarm if needed.
>
> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
> Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
> ---
> hw/rtc/goldfish_rtc.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/hw/rtc/goldfish_rtc.c b/hw/rtc/goldfish_rtc.c
> index 0f4e8185a796..e07ff0164e0c 100644
> --- a/hw/rtc/goldfish_rtc.c
> +++ b/hw/rtc/goldfish_rtc.c
> @@ -211,6 +211,8 @@ static int goldfish_rtc_post_load(void *opaque, int
> version_id)
> qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL);
> s->tick_offset = s->tick_offset_vmstate - delta;
>
> + goldfish_rtc_set_alarm(s);
> +
> return 0;
> }
>
>
- Re: [PATCH v2 6/7] goldfish_rtc: re-arm the alarm after migration,
Laurent Vivier <=