Bug 1170533
Summary: | Should disalbe S3/S4 in default under Q35 machine type in rhel7 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | langfang <flang> |
Component: | qemu-kvm-rhev | Assignee: | Amit Shah <amit.shah> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 7.1 | CC: | flang, hhuang, juzhang, michen, mrezanin, ovasik, qiguo, sluo, virt-maint, xwei |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-rhev-2.1.2-21.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-03-05 09:59:20 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: |
Description
langfang
2014-12-04 09:28:45 UTC
Patch posted upstream: http://news.gmane.org/find-root.php?message_id=d6e655e5dd3f8c297be681a145b25b2627495b86.1418728981.git.amit.shah%40redhat.com Note that PIIX4_PM.* are to be used for i440fx machine type only. For Q35, use the ICH9-LPC global. Example: .. -global ICH9-LPC.disable_s3=1 -global ICH9-LPC.disable_s4=1 Test this bug as follow version: # uname -r # rpm -q qemu-kvm-rhev qemu-kvm-rhev-2.1.2-13.el7.bz1170533.x86_64 Guest:rhel7.1 Steps; 1.Boot guest ... -M q35... 2.After guest boot up install package iasl # cat /sys/firmware/acpi/tables/SSDT > ssdt # iasl -d ssdt # cat ssdt.dsl 3.check the S3/S4 #cat ssdt.dsl ... Scope (\) { Name (XS3, Package (0x04) { One, One, Zero, Zero }) Name (XS4, Package (0x04) { 0x02, 0x02, Zero, Zero }) ... Results: The default is disable for s3/s4 Addtional info: 1.Boot guest with -M ....-global ICH9-LPC.disable_s3=1 -global ICH9-LPC.disable_s4=1 Results: S3/s4 disabled 2.Boot guest with -M ....-global ICH9-LPC.disable_s3=0 -global ICH9-LPC.disable_s4=0 Resutls: S3/S4 is enable Fix included in qemu-kvm-rhev-2.1.2-21.el7 Test this bug as follow version: Host: # uname -r 3.10.0-224.el7.x86_64 # rpm -q qemu-kvm-rhev qemu-kvm-rhev-2.1.2-21.el7.x86_64 Guest: 3.10.0-224.el7.x86_64 Steps: 1.Boot guest with ... -M q35... 2.After guest boot up install package iasl # cat /sys/firmware/acpi/tables/SSDT > ssdt # iasl -d ssdt # cat ssdt.dsl 3.check the S3/S4 #cat ssdt.dsl ... Scope (\) { Name (XS3, Package (0x04) { One, One, Zero, Zero }) Name (XS4, Package (0x04) { 0x02, 0x02, Zero, Zero }) ... Results: The default is disable for s3/s4 Addtional info: 1.Boot guest with -M ....-global ICH9-LPC.disable_s3=1 -global ICH9-LPC.disable_s4=1 Results: S3/s4 disabled 2.Boot guest with -M ....-global ICH9-LPC.disable_s3=0 -global ICH9-LPC.disable_s4=0 Resutls: S3/S4 is enable 3.Test win7 guest with q35 a.boot guest without the parameter of S3/S4, will see : powercfg -h on-->powcfg -h on--> will see "The system firmware does not support..." b.boot guest with the parameter of S3/S4,"-global ICH9-LPC.disable_s3=0 -global ICH9-LPC.disable_s4=0" results:S3/S4 are available C.boot guest with the parameter of S3/S4,"-global ICH9-LPC.disable_s3=1 -global ICH9-LPC.disable_s4=1 powercfg -h on-->powcfg -h on--> will see "The system firmware does not support... According to above test ,this bug has been fixed. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-0624.html *** Bug 1170111 has been marked as a duplicate of this bug. *** |