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

2014-02-20 Thread Andrey Korolyov
On 10/15/2013 04:18 PM, Xiexiangyou wrote: Thanks for your reply :-) The QEMU version is 1.5.1,and the KVM version is 3.6 QEMU command: /usr/bin/qemu-kvm -name win2008_dc_5 -S -machine pc-i440fx-1.5,accel=kvm,usb=off -m 2048 -realtime mlock=off -smp

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

2013-10-21 Thread David Weber
We have the exactly same problem on our NUMA systems. The clock of windows 2008 guests sometimes just stops and it becomes slow when you are connected via rdp. After connecting to qemu's vnc server everything runs fine again. The problem seems to occour more often when the host is under pressure.

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

2013-10-15 Thread Xiexiangyou
Hi all: Windows2008 Guest run without pressure for long time. Sometimes, it stop and looks like hanging. But when I connect to it with VNC, It resume to run, but VM's time is delayed . When the vm is hanging, I check the main thread of QEMU. I find that the thread is blocked in g_poll

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

2013-10-15 Thread Paolo Bonzini
Il 15/10/2013 12:21, Xiexiangyou ha scritto: Hi all: Windows2008 Guest run without pressure for long time. Sometimes, it stop and looks like hanging. But when I connect to it with VNC, It resume to run, but VM's time is delayed . When the vm is hanging, I check the main thread of QEMU. I

RE: [RFH] Qemu main thread is blocked in g_poll in windows guest

2013-10-15 Thread Xiexiangyou
Thanks for your reply :-) The QEMU version is 1.5.1,and the KVM version is 3.6 QEMU command: /usr/bin/qemu-kvm -name win2008_dc_5 -S -machine pc-i440fx-1.5,accel=kvm,usb=off -m 2048 -realtime mlock=off -smp 4,maxcpus=64,sockets=16,cores=4,threads=1 -uuid 13e08e3e-cd23-4450-8bd3-60e7c220316d

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

2013-10-15 Thread Paolo Bonzini
Il 15/10/2013 14:18, Xiexiangyou ha scritto: (gdb) bt #0 0x7f9ba661a423 in poll () from /lib64/libc.so.6 #1 0x0059460f in os_host_main_loop_wait (timeout=4294967295) at main-loop.c:226 #2 0x005946a4 in main_loop_wait (nonblocking=0) at main-loop.c:464 #3

RE: [RFH] Qemu main thread is blocked in g_poll in windows guest

2013-10-15 Thread Xiexiangyou
The backtrace of VCPU in hangup state is: (gdb) bt #0 0x7f9ba661bc67 in ioctl () from /lib64/libc.so.6 #1 0x0069631d in kvm_vcpu_ioctl (cpu=0x169f880, type=44672) at /home/qemu-kvm-1.5.1/kvm-all.c:1735 #2 0x00695bc6 in kvm_cpu_exec (env=0x169f990) at