Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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.