Bug 553112

Summary: Cannot 'standby' guest RHEL5.5
Product: Red Hat Enterprise Linux 5 Reporter: Yolkfull Chow <yzhou>
Component: kvmAssignee: Gleb Natapov <gleb>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.5CC: knoel, llim, ndai, virt-maint, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-30 07:36:41 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:
Bug Depends On:    
Bug Blocks: 580948    

Description Yolkfull Chow 2010-01-07 06:00:03 UTC
Description of problem:
Found there is no 'standby' in '/sys/power/state'. Cannot guest RHEL-5.5 detect ACPI 'standby' or it doesn't support at all? Tested this on real HW installed RHEL-Server-5.5, worked fine.


Version-Release number of selected component (if applicable):
Guest kernel: 2.6.18-182.el5

How reproducible:
Everytime

Steps to Reproduce:
1. Start guest: #/root/autotest/client/tests/kvm/qemu -name 'vm1' -monitor tcp:0:6001,server,nowait -drive file=/root/autotest/client/tests/kvm/images/RHEL-Server-5.4-32.qcow2,if=ide,boot=on -net nic,vlan=0,model=e1000,macaddr=00:AE:9D:90:9C:00 -net tap,vlan=0,ifname=e1000_0_6001,script=/root/autotest/client/tests/kvm/scripts/qemu-ifup-switch,downscript=no -m 512 -smp 1 -usbdevice tablet -rtc-td-hack -no-hpet -cpu qemu64,+sse2 -no-kvm-pit-reinjection -vnc :0
2. entered into guest, issue command: #cat /sys/power/state
(or issue: #echo standby > /sys/power/state
3. cannot find 'standby' in power-state file (cannot standby guest)
  
Actual results:
Cannot find 'standby'

Expected results:
Can standby guest like host which is 5.5 as well

Additional info:

Comment 3 Gleb Natapov 2010-06-30 07:36:41 UTC
We do not support "standby" (S1) in kvm. The only states that are supported: "mem" (S3) and "disk" (S4). And S3 is only supported for windows WHQL testing so after entering this state kmv immediately resumes. Closing the bug.