Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-10-30 Thread Alex Bligh
On 30 Oct 2013, at 01:29, Xiexiangyou wrote: > RTC timer may stop after live migration if you set the rtc_clock = > host_clock. Because the different hosts have different system time. > Rtc is waiting for the next_periodic_time after migrating, it may wait more > longer. During the time, VM wil

Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-10-30 Thread Alex Bligh
On 30 Oct 2013, at 00:44, Xiexiangyou wrote: > But I want to know why alarm timer will make the problem, is the reason that > losing the alarm event? I am not sure it was the use of alarm timers per se - doubtless it would be possible to write code that worked 100% using alarm timers. The old c

Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-10-29 Thread Xiexiangyou
ginal Message- From: Matthew Anderson [mailto:matth...@base3.com.au] Sent: Monday, October 28, 2013 2:59 PM To: 'Alex Bligh'; Xiexiangyou Cc: Stefan Hajnoczi; qemu-devel@nongnu.org Subject: RE: [Qemu-devel] BUG: RTC issue when Windows guest is idle Hi Alex, I've been doing some test

Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-10-29 Thread Xiexiangyou
event? Thanks --- xiexiangyou -Original Message- From: Alex Bligh [mailto:a...@alex.org.uk] Sent: Monday, October 28, 2013 3:45 PM To: Matthew Anderson Cc: Alex Bligh; Xiexiangyou; Stefan Hajnoczi; qemu-devel@nongnu.org Subject: Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-10-28 Thread Paolo Bonzini
ci.0,addr=0xb -incoming tcp:0:3004 > > Thanks > -Matt > > > -Original Message- > From: Alex Bligh [mailto:a...@alex.org.uk] > Sent: Tuesday, 22 October 2013 5:36 PM > To: Xiexiangyou; Matthew Anderson > Cc: Stefan Hajnoczi; qemu-devel@nongnu.org; Alex Blig

Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-10-28 Thread Alex Bligh
On 28 Oct 2013, at 07:44, Alex Bligh wrote: >> >> A weird thing that has been happening is the RTC timer stopping after a live >> migration. This happened in both 1.6.1 and the 1.6.50 git build. To >> replicate the issue I was migrating to/from the same machine and anywhere >> between 1 and 3

Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-10-28 Thread Alex Bligh
On 28 Oct 2013, at 06:58, Matthew Anderson wrote: > I've been doing some testing with the latest git version and so far I haven't > seen a guest freeze in the same circumstances as before. That's good news. > A weird thing that has been happening is the RTC timer stopping after a live > migr

Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-10-28 Thread Matthew Anderson
x Bligh Subject: Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle --On 22 October 2013 08:28:08 + Xiexiangyou wrote: > Hi: > > I have run windows2008r2 guest with qemu-1.5.1/1.6(I have not test the > the newer version) for long time, the issue (guest in hangup s

Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-10-22 Thread Alex Bligh
--On 22 October 2013 08:28:08 + Xiexiangyou wrote: Hi: I have run windows2008r2 guest with qemu-1.5.1/1.6(I have not test the the newer version) for long time, the issue (guest in hangup state) will come out.When guest in hangup state, QEMU main thread is blocked in g_poll loop. 398

Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-10-22 Thread Xiexiangyou
fected, but we've > been running with this "fix" for > 3 days now and haven't seen the > problem since. > > Thought to share this with you. > > Regards > > Anders Fudali > > -------------- > > From: Xiexiangyou [mailto:xiexiang...@huawei.com

Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-10-21 Thread Alex Bligh
--On 21 October 2013 15:56:27 +0100 Alex Bligh wrote: I'm not sure whether the RTC is meant to be generating some sort of qemu_notify() here, or using a timer, or what, but it should be doing something to break out of the select() loop. Stefan - any idea? To answer my own question, I think

Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-10-21 Thread Alex Bligh
--- From: Xiexiangyou [mailto:xiexiang...@huawei.com] Sent: Tuesday, 8 October 2013 5:39 PM To: Matthew Anderson Cc: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle Hi: I have met the same bug that windows2008 guest stop receive the RTC t

Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-10-16 Thread Matthew Anderson
#x27;t seen the problem since. Thought to share this with you. Regards Anders Fudali -- From: Xiexiangyou [mailto:xiexiang...@huawei.com] Sent: Tuesday, 8 October 2013 5:39 PM To: Matthew Anderson Cc: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] BUG: RTC iss

Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-10-08 Thread Xiexiangyou
Hi: I have met the same bug that windows2008 guest stop receive the RTC ticks when it in idle status by fortuitous. When vnc connect, guest will resume to receive RTC ticks and the time run fast because of the coalesced timer HPET is diabled, and RTC is set "catchup", as following:

Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-03-19 Thread Gleb Natapov
On Thu, Mar 14, 2013 at 04:15:10AM +, Matthew Anderson wrote: > Thanks for the suggestion but so far it hasn't made any difference. > > I thought I may be an issue with the mainline kernel I was using so I changed > over to Ubuntu 12.10 and QEMU 1.2.0. Stability is slightly better but I still

Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-03-13 Thread Matthew Anderson
getting a tyrade of angry phone called every morning that's making me want to go postal. Thanks -Matt -Original Message- From: fluxion [mailto:fluks...@gmail.com] On Behalf Of mdroth Sent: Friday, 22 February 2013 6:23 AM To: Matthew Anderson Cc: 'qemu-devel@nongnu.org'

Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-02-21 Thread mdroth
On Thu, Feb 21, 2013 at 06:16:10PM +, Matthew Anderson wrote: > If this isn't the correct list just let me know, > > I've run into a bug whereby a Windows guest (tested on Server 2008R2 and > 2012) no longer receives RTC ticks when it has been idle for a random amount > of time. HPET is disa

[Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-02-21 Thread Matthew Anderson
If this isn't the correct list just let me know, I've run into a bug whereby a Windows guest (tested on Server 2008R2 and 2012) no longer receives RTC ticks when it has been idle for a random amount of time. HPET is disabled and the guest is running Hyper-V relaxed timers (same situation withou