Bug 954341

Summary: qemu process can not quit after S4 for windows guest
Product: Red Hat Enterprise Linux 7 Reporter: langfang <flang>
Component: qemu-kvmAssignee: Amos Kong <akong>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: acathrow, ailan, hhuang, juzhang, qzhang, rhod, sluo, virt-maint, xfu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-26 08:51:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 923626    

Description langfang 2013-04-22 10:46:18 UTC
Description of problem:
qemu process  can not quit after S4 for windows guest 

Version-Release number of selected component (if applicable):
Host
# uname -r
3.9.0-0.rc6.51.el7.x86_64
# rpm -q qemu-kvm
qemu-kvm-1.4.0-2.el7.x86_64

Guest:
win7-64
How reproducible:

100%

Steps to Reproduce:
1.Boot guest
/usr/libexec/qemu-kvm  -cpu Penryn -enable-kvm -m 2G -smp 2,sockets=2,cores=1,threads=1 -name rhel7 -uuid `uuidgen` -drive file=/home/win7-64.qcow2,if=none,id=drive-system-disk,format=qcow2 -device virtio-blk-pci,drive=drive-system-disk,id=system-disk,bootindex=1 -netdev tap,id=hostnet1,script=/etc/qemu-ifup -device e1000,netdev=hostnet1,id=net1,mac=34:ef:18:6e:2a:31,addr=0x4 -spice port=5830,disable-ticketing -vga qxl -qmp tcp:0:4445,server,nowait -monitor stdio -usb -device usb-tablet -serial unix:/tmp/tty0,server,nowait

2.After guest boot up 
Do S4 in windows guest
 choose--->Hibernate

3.qumu can not quit 
(qemu) info status
VM status: running

4.Ues "ctrl+c" to quit qemu

5.Boot guest with same CLI as step 1

6.Guest resume from S4

Actual results:

step 3,after do  S4,qumu can not quit

Expected results:
After step 3,qemu can be quit.

Additional info:

1)Test use rhel guest not hit the problem
2)Test on rhel6 host not hit the problem
3)Test with all the windows guest hit same problem
4) Top in host
Tasks: 133 total,   1 running, 132 sleeping,   0 stopped,   0 zombie
%Cpu(s): 35.4 us, 14.6 sy,  0.0 ni, 49.7 id,  0.0 wa,  0.2 hi,  0.1 si,  0.0 st
KiB Mem:   3654940 total,  3548788 used,   106152 free,        0 buffers
KiB Swap:  3932156 total,    40552 used,  3891604 free,  1138980 cached

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                  
28564 root      20   0 4682232 2.065g   7012 S 199.3 59.24  13:15.78 qemu-kvm

Comment 2 juzhang 2013-04-26 07:48:42 UTC
FYI
Bug 947758 - spice window keep black screen when do s4 on guest win7.32

Comment 3 langfang 2013-04-26 08:51:14 UTC
I will closed this bug for as same as this bug 

Bug 947758 - spice window keep black screen when do s4 on guest win7.32

*** This bug has been marked as a duplicate of bug 947758 ***