Yes, it's also work.
So you prefer the latter?
zhong...@sangfor.com.cn
From: Paolo Bonzini
Date: 2016-12-16 18:10
To: Junlian Bell
CC: qemu-devel
Subject: Re: [PATCH 1/1] scsi-disk: passthrough VERIFY command
On 16/12/2016 08:55, Junlian Bell wrote:
> When a scsi-disk object recei
>No, it's not seconds. It depends on the interval of the periodic interrupt.
>
>In any case this approach is not acceptable, unfortunately; it causes
>the time to go backwards for the guest as soon as an interrupt is coalesced.
>
>What is the guest that you're seeing issues with?
Yes, it's
variable according to
time
stamp in cmos array.
Signed-off-by: Junlian Bell <zhong...@sangfor.com.cn>
---
hw/timer/mc146818rtc.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/hw/timer/mc146818rtc.c b/hw/timer/mc146818rtc.c
index ea625f2..4e4af43 100644
--- a/hw
variable according to
time
stamp in cmos array.
Signed-off-by: Junlian Bell <zhong...@sangfor.com.cn>
---
hw/timer/mc146818rtc.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/hw/timer/mc146818rtc.c b/hw/timer/mc146818rtc.c
index ea625f2..1e0ed14 100644
--- a/hw
Hi, Paolo
This is another patch arround RTC. Would you please have a review.
--separation-
MC146818 RTC: Get correct guest time when irq coalesced
When irq coalesce occurred, irq_coalesced actually store the seconds
that the time
is trying to fix the problem. first, when vmsave in progress, we
rtc_update_time to refresh time stamp in cmos array, then during vmrestore,
we rtc_set_time to update qemu base_rtc and last_update variable according to
time
stamp in cmos array.
Signed-off-by: Junlian Bell <zhong...@sangfor.com
.
zhong...@sangfor.com.cn
From: Paolo Bonzini
Date: 2016-09-21 23:15
To: zhong...@sangfor.com.cn; qemu-devel
CC: Michael S. Tsirkin
Subject: Re: [PATCH]MC146818 RTC: coordinate guest clock base to destination
host after migration
On 21/09/2016 09:36, zhong...@sangfor.com.cn wrote:
> If
;
-if (version_id <= 2) {
+if (rtc_clock == QEMU_CLOCK_REALTIME || version_id <= 2) {
rtc_set_time(s);
s->offset = 0;
check_update_timer(s);
---
Could you send me the complete patch?
zhong...@sangfor.com.cn
From: zhong...@sangfor.com.cn
Date: 2016-09
Thinks!
the model disrupted.
yes, approach we choose looks a little tediously long. but we'll gain in the
future, when we trying to improve
zhong...@sangfor.com.cn
From: Paolo Bonzini
Date: 2016-09-20 21:12
To: zhong...@sangfor.com.cn; qemu-devel
CC: Michael S. Tsirkin
Subject: Re: [PATCH]MC
=off \
-post win2008x64_Sangfor123clone
---
> On 20/09/2016 09:19, zhong...@sangfor.com.cn wrote:
> > qemu tracks guest time based on vector [base_rtc, last_update], in which
> > last_update stands for a monotonic tick which is actually uptime of the
> host.
>
> But last_update is
yes, the full options on clock is '-rtc driftfix=slew,clock=rt,base=localtime'
zhong...@sangfor.com.cn
From: Paolo Bonzini
Date: 2016-09-20 16:17
To: zhong...@sangfor.com.cn; qemu-devel
CC: Michael S. Tsirkin
Subject: Re: [PATCH]MC146818 RTC: coordinate guest clock base to destination
host
11 matches
Mail list logo