[Resend, since I didn't see this email on the list after 3h] Hello list,
I am running winXP English on the kvm, and sometimes after savevm when starting with loadvm - it starts frozen (the process takes 100% CPU and the target OS is not responsive). The command line to run qemu (while kvm-intel is loaded) that I use is: /usr/local/kvm/bin/qemu-system-x86_64 -hda winxp.qcow2 -L /usr/local/kvm/share/qemu/ -usbdevice tablet -no-rtc -m 256 -localtime -net none -vnc :0 -serial /dev/null -parallel /dev/null -monitor unix:/tmp/monitor-qemu.sock,server,nowait -S Then I send commands to the monitor, the moment it is available: loadvm 1 cont And after few mouse moves and clicks (using vncviewer) I save the vm: stop delvm 1 savevm 1 quit After 1-3 iterations of the above procedure, the system starts frozen. Remarks: 1. I currently use kvm-35 2. The symptom is the same when I start already with -loadvm 1 and without -S 3. I have tried to run it with -no-kvm and it seems _not_ to freeze (few tens of experiments). 4. I have tried with kvm, but without -usbdevice tablet and it seems _not_ to freeze. 5. The presence of this problem has been verified on kvm-28,32,33,35. 6. Once a qcow2 image gets frozen, running it again and again doesn't 'fix' the problem. 7. I had a workaround, that often worked - run loadvm 1 again. Then the system gets again operational. This method does not always work though. 8. Same problem happened with other windows OS (2000, and other languages) as well. 9. Nothing relevant in dmesg While frozen, I ran 'info cpus' few times on the monitor: info cpus (qemu) info cpus * CPU #0: pc=0x00000000806d5cbc * CPU #0: pc=0x00000000806d5cec * CPU #0: pc=0x00000000806d563c * CPU #0: pc=0x00000000806d57f9 * CPU #0: pc=0x00000000806d5cec * CPU #0: pc=0x00000000f9c89f55 * CPU #0: pc=0x00000000806d57f4 * CPU #0: pc=0x0000000081719a54 * CPU #0: pc=0x00000000806d57f4 * CPU #0: pc=0x00000000806d5caa * CPU #0: pc=0x00000000806d5caa * CPU #0: pc=0x00000000806d5cf0 * CPU #0: pc=0x00000000806d5cec * CPU #0: pc=0x00000000806d5caa * CPU #0: pc=0x00000000806d563c * CPU #0: pc=0x00000000806d563c * CPU #0: pc=0x00000000806d57f4 I can see that some addresses repeat and it is kind of a loop, but I have no idea what part of winXP is running then. I could only guess that it has to do with usb, since the presence of -usbdevice tablet makes a difference. The whole problem is probably some race condition caused during savevm (qcow2) while kvm and usb devices are present. Running 'info registers' on the monitor few times gives a constant result: info registers EAX=00000062 EBX=00002002 ECX=00000012 EDX=80548dd8 ESI=80551920 EDI=81719a18 EBP=80548de0 ESP=80548dc8 EIP=806d5cf0 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0023 00000000 ffffffff 00c0f300 CS =0008 00000000 ffffffff 00c09b00 SS =0010 00000000 ffffffff 00c09300 DS =0023 00000000 ffffffff 00c0f300 FS =0030 ffdff000 00001fff 00c09300 GS =0000 00000000 ffffffff 00000000 LDT=0000 00000000 ffffffff 00000000 TR =0028 80042000 000020ab 00008b00 GDT= 8003f000 000003ff IDT= 8003f400 000007ff CR0=e001003b CR2=e10e8000 CR3=007db000 CR4=000006f8 FCW=027f FSW=0120 [ST=0] FTW=00 MXCSR=00000000 FPR0=0007502c00000000 0000 FPR1=00003d640000050b a3ae FPR2=00004ea90006c4ff c1a0 FPR3=0000000000005c11 519a FPR4=0007f86c00000ebe 0000 FPR5=0000000000000000 0000 FPR6=ff7d000000000000 400e FPR7=ccc999999999a000 4019 XMM00=607a604000000000000000007c9106eb XMM01=000000000000010f0000087100000f31 XMM02=000000000000000000000000000003ad XMM03=00000000000000000000000000000000 XMM04=00000c0a000002ff0000000000003911 XMM05=0000012f00000000000001a400000000 XMM06=000001620000000c000005180000000d XMM07=00000000000000000000000000000000 Hardware: Intel(R) Xeon(R) CPU E5310 @ 1.60GHz (2*quad) Software: RedHat Enterprise 5 Linux 2.6.18-8.1.6.el5 #1 SMP Fri Jun 1 18:52:13 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux Any idea of why it happens or how to avoid it? Regards, Shahar Livne ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel