Bug 980840

Summary: Change s3/s4 default to "disable".
Product: Red Hat Enterprise Linux 7 Reporter: Gleb Natapov <gleb>
Component: qemu-kvmAssignee: Markus Armbruster <armbru>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: acathrow, armbru, flang, hhuang, juzhang, knoel, rhod, virt-maint, xhan
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-1.5.2-2.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 12:39:06 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: 983991, 1613010, 1661276    
Bug Blocks: 841379, 895959, 923626, 983997, 984008, 984010    

Description Gleb Natapov 2013-07-03 10:33:36 UTC
Commit 625992f4673989108819db751aa9066b65fc6020 in qemu-kvm rhel6

Comment 2 Miroslav Rezanina 2013-07-31 12:03:22 UTC
Fix included in qemu-kvm-1.5.2-2.el7

Comment 3 Miroslav Rezanina 2013-07-31 12:08:55 UTC
Fix included in qemu-kvm-1.5.2-2.el7

Comment 6 langfang 2014-01-22 03:38:36 UTC
Reproduce this bug as follow version:
Host
# uname -r
3.10.0-73.el7.x86_64
# rpm -q qemu-kvm
qemu-kvm-1.5.0-2.el7.x86_64

Guest:rhel6 

Steps:
1.Boot guest without "-global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 "
2.In guest
#cat /sys/power/state
mem disk

Results: S3/S4 enabled in default

Verify this bug as follow version:
Host:
# uname -r
3.10.0-64.el7.x86_64
# rpm -q qemu-kvm
qemu-kvm-1.5.3-38.el7.x86_64

*Senarios 1) test rhel6 guest

1.Boot guest without "-global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 "
2.In guest
install package iasl

# cat /sys/firmware/acpi/tables/SSDT > ssdt
# iasl -d ssdt
# cat ssdt.dsl


    Scope (\)
    {
        Name (XS3, Package (0x04)--->S3 disabled
        {
            One,
            One,
            Zero,
            Zero
        })
        Name (XS4, Package (0x04)--->S4 disabled
        {
            0x02,
            0x02,
            Zero,
            Zero
        })
...
 S3/S4 disabled in default


*Senario 2) rhe7 guest

Steps as same as Senario 1

Resutls:
....
    Scope (\)
    {
        Name (XS3, Package (0x04)--->S3 disabled
        {
            One,
            One,
            Zero,
            Zero
        })
        Name (XS4, Package (0x04)--->S4 disabled
        {
            0x02,
            0x02,
            Zero,
            Zero
        })
...
 S3/S4 disabled in default

*Senario 3) test windows guest

Steps as same as Senario 1

Results:
#powercfg -h on
#powercfg -a

Resutls:
...
Standby(S3)
The system firmware does not support this standby state.
An internal system component has disabled this standby state.
       Graphics--->bug 895362
Hibernate
The system firmware does not support this standby state.
...

S3/S4 has been disabled in default


According to above test ,this bug has been fixed.

Comment 8 Ludek Smid 2014-06-13 12:39:06 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.