[Qemu-devel] Is it necessary to add a Monitor event of QEVENT_DEVICE_ADDED

2014-04-03 Thread xiexiangyou
Hi all, As we know, when hot-add a device, we don't know whether the device is present in VM from outside(like libvirt). However, unplugging device, when complete remove the device, Qemu will generate a Monitor event,QEVENT_DEVICE_DELETED. Libvirt can receive the event and do something. So

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

2013-10-29 Thread Xiexiangyou
, and the RTC periodic timer interrupt is blocked by "ioapic->irr==1" in KVM module. To solve the problem, you can try "rtc_clock = vm_clock"(HPET is ok because it using vm_clock). Like this: I hope it will help you. Best wishes --- Xiexiangyou -Ori

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-22 Thread Xiexiangyou
time before timeout , guest also will lose rtc/hpet ticks. Regards xiexiangyou -Original Message- From: Alex Bligh [mailto:a...@alex.org.uk] Sent: Monday, October 21, 2013 10:56 PM To: Matthew Anderson; Xiexiangyou Cc: qemu-devel@nongnu.org; Alex Bligh; Stefan Hajnoczi Subject: Re: [Qe

Re: [Qemu-devel] [RFH] Qemu main thread is blocked in g_poll in windows guest

2013-10-15 Thread Xiexiangyou
15, 2013 8:30 PM To: Xiexiangyou Cc: qemu-devel@nongnu.org; qemu-devel-requ...@nongnu.org; k...@vger.kernel.org; Huangpeng (Peter); Luonengjun Subject: Re: [RFH] Qemu main thread is blocked in g_poll in windows guest Il 15/10/2013 14:18, Xiexiangyou ha scritto: > (gdb) bt > #0 0x7f

Re: [Qemu-devel] [RFH] Qemu main thread is blocked in g_poll in windows guest

2013-10-15 Thread Xiexiangyou
. Thanks! --xie -Original Message- From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo Bonzini Sent: Tuesday, October 15, 2013 7:52 PM To: Xiexiangyou Cc: qemu-devel@nongnu.org; qemu-devel-requ...@nongnu.org; k...@vger.kernel.org; Huangpeng (Peter); Luonengjun Subject

[Qemu-devel] [RFH] Qemu main thread is blocked in g_poll in windows guest

2013-10-15 Thread Xiexiangyou
the signal. I set the windows 's "power option", enable/disable the "allow the wake timers", I didn't work. Is anybody have met the same problem before, or know the reason. Your reply will be very helpful. Thanks --xiexiangyou

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: