Bug 741619

Summary: Qemu-Kvm: Virtual servers with rhevm-tools installed on OS XP get stuck when trying to put vm in internal hibernation
Product: Red Hat Enterprise Linux 6 Reporter: Dafna Ron <dron>
Component: qemu-kvmAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.2CC: acathrow, mkenneth, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-27 13:26:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
logs none

Description Dafna Ron 2011-09-27 13:04:16 UTC
Created attachment 525125 [details]
logs

Description of problem:

after in stalling rhevm-tools on vm with OS XP, I tried putting the vm in hibernation (internal hibernation). 
the vm got stuck with "preparing for hibernation" and it's cpu remains on 100%


Version-Release number of selected component (if applicable):

ic142
vdsm-4.9-104.el6.x86_64
qemu-kvm-0.12.1.2-2.184.el6.x86_64
libvirt-0.9.4-7.2.el6.x86_64

How reproducible:

100%

Steps to Reproduce:
1. install XP OS on Virtual server
2. install rhevm-tools
3.
  
Actual results:

only servers with XP OS will get stuck when trying to put vm into internal hibernation

Expected results:

servers should not be stuck

Additional info: attached logs.
VM HA and NOT-HA1 are servers, vm XP is desktop in which hibernation succeeded. 


qemu      4473     1 88 15:27 ?        00:23:27 /usr/libexec/qemu-kvm -S -M rhel6.2.0 -cpu Opteron_G3 -enable-nesting -enable-kvm -m 1024 -smp 1,sockets=1,cores=1,threads=1 -name NOT-HA1 -uuid 188fdac5-2ccb-4215-b13f-02fe81e07978 -smbios type=1,manufacturer=Red Hat,product=RHEL,version=6Server-6.1.0.2.el6,serial=44454C4C-3800-1046-8035-B4C04F34344A_00:22:19:14:7E:B8,uuid=188fdac5-2ccb-4215-b13f-02fe81e07978 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/NOT-HA1.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=2011-09-27T12:27:18 -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x4 -drive file=/rhev/data-center/52d1a356-59f6-4b41-bc0a-333b9892ccc0/3fc07d76-391c-48ca-b3a0-5c528701fccd/images/0acdb951-1c98-42dd-80fa-455cf03712e3/851e7e69-7b28-4691-97ae-53aa1e5bddf3,if=none,id=drive-ide0-0-0,format=qcow2,serial=dd-80fa-455cf03712e3,cache=none,werror=stop,rerror=stop,aio=native -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive file=/rhev/data-center/52d1a356-59f6-4b41-bc0a-333b9892ccc0/d363112a-e902-4919-9ddc-1c2fe74d0a5c/images/11111111-1111-1111-1111-111111111111/RHEV-toolsSetup_3.0_21.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=26,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=00:1a:4a:23:46:91,bus=pci.0,addr=0x3 -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/NOT-HA1.com.redhat.rhevm.vdsm,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm -usb -device usb-tablet,id=input0 -vnc 0:3,password -k en-us -vga cirrus
qemu     29955 16950  0 15:20 ?        00:00:00 [python] <defunct>
qemu     30422     1 91 15:21 ?        00:29:50 /usr/libexec/qemu-kvm -S -M rhel6.2.0 -cpu Opteron_G3 -enable-nesting -enable-kvm -m 1024 -smp 1,sockets=1,cores=1,threads=1 -name HA -uuid 3dc857df-2b20-4fdd-8ac6-362de9749d60 -smbios type=1,manufacturer=Red Hat,product=RHEL,version=6Server-6.1.0.2.el6,serial=44454C4C-3800-1046-8035-B4C04F34344A_00:22:19:14:7E:B8,uuid=3dc857df-2b20-4fdd-8ac6-362de9749d60 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/HA.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=2011-09-27T12:21:11 -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x4 -drive file=/rhev/data-center/52d1a356-59f6-4b41-bc0a-333b9892ccc0/3fc07d76-391c-48ca-b3a0-5c528701fccd/images/1ce76e78-6267-485f-8646-f15acd119ea4/931bf304-5155-4cda-93b5-8a1a215d79de,if=none,id=drive-ide0-0-0,format=qcow2,serial=5f-8646-f15acd119ea4,cache=none,werror=stop,rerror=stop,aio=native -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive file=/rhev/data-center/52d1a356-59f6-4b41-bc0a-333b9892ccc0/d363112a-e902-4919-9ddc-1c2fe74d0a5c/images/11111111-1111-1111-1111-111111111111/RHEV-toolsSetup_3.0_21.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=26,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=00:1a:4a:23:46:90,bus=pci.0,addr=0x3 -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/HA.com.redhat.rhevm.vdsm,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm -usb -device usb-tablet,id=input0 -vnc 0:0,password -k en-us -vga cirrus
root     30925   770  0 15:53 pts/0    00:00:00 grep qemu

Comment 1 Dor Laor 2011-09-27 13:26:36 UTC
The latest seabios version does not report s3/s4 state and thus the OS is not expected to hibernate. We do know we have bugs and they should be fixed for 6.3