Re: [Qemu-devel] [PATCH]MC146818 RTC: Get correct guest time when irq coalesced

2016-09-26 Thread zhong...@sangfor.com.cn
>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 leng

Re: [Qemu-devel] [PATCH]MC146818 RTC: Get correct guest time when irq coalesced

2016-09-26 Thread Paolo Bonzini
On 26/09/2016 06:37, zhong...@sangfor.com.cn wrote: > 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 coales

[Qemu-devel] [PATCH]MC146818 RTC: Get correct guest time when irq coalesced

2016-09-25 Thread zhong...@sangfor.com.cn
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 sa