Hide Forgot
Description of problem: Boot a RHEL6.1 guest with ide block and e1000 NIC, and then do S4/resume. After guest resume successfully, shutdown guest. But failed. (Screenshot will be attached.) Version-Release number of selected component (if applicable): kernel-2.6.32-174.el6.x86_64 qemu-kvm-0.12.1.2-2.175.el6.x86_64 How reproducible: Always Steps to Reproduce: 1.Boot a RHEL guest. /usr/libexec/qemu-kvm -m 2G -smp 2 -cpu cpu64-rhel6,+x2apic -usbdevice tablet -drive file=/home/RHEL6.1-32.qcow2,format=qcow2,if=none,id=drive-ide0-0-0,werror=stop,rerror=stop,cache=none -device ide-drive,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,id=hostnet0,script=/etc/qemu-ifup -device e1000,netdev=hostnet0,mac=00:10:2a:25:1a:50,bus=pci.0,addr=0x6 -boot dc -uuid e1345e5b-af68-443d-b29a-9d6b3928ac3a -rtc-td-hack -no-kvm-pit-reinjection -monitor stdio -qmp tcp:0:4444,server,nowait -name RHEL6.1 -vnc :10 2.do S4 inside guest. #echo disk > /sys/power/state 3.Resume guest by boot again with the same command line. 4.After guest resumes, shutdown guest by: #shutdown -h now Actual results: Guest stops at the shutdown screen. Expected results: Guest should shutdown successfully. Additional info: Same problem happens with RHEL6.1-32 and RHEL6.1-64 guest. I will try RHEL5 guest later. Test windows 2k8-r2 guest, have not meet this issue.
Created attachment 516108 [details] Screenshot of shutdown
According to my tests,this is a timer device issue , append "-kvmclock" to -cpu option and it will shutdown without problem Best Regards, Xiaoqing.
(In reply to comment #0) > Description of problem: > Additional info: > Same problem happens with RHEL6.1-32 and RHEL6.1-64 guest. I will try RHEL5 > guest later. RHEL5.7-64 guest works when append "clock=pmtmr" to kernel option at booting. Best Regards, Xiaoqing.
(In reply to comment #3) > According to my tests,this is a timer device issue , append "-kvmclock" to -cpu > option and it will shutdown > without problem -cpu cpu64-rhel6,+x2apic,-kvmclock Best Regards, Xiaoqing.