qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] icount: get rid of static variable


From: Paolo Bonzini
Subject: Re: [PATCH] icount: get rid of static variable
Date: Mon, 29 Mar 2021 12:27:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

On 29/03/21 12:22, Pavel Dovgalyuk wrote:
This patch moves static last_delta variable into timers_state
structure to allow correct vmstate operations with icount shift=auto enabled.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
---
  softmmu/cpu-timers.c   |    5 +++--
  softmmu/icount.c       |    9 +++------
  softmmu/timers-state.h |    2 ++
  3 files changed, 8 insertions(+), 8 deletions(-)

Queued, thanks.

Paolo




reply via email to

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