diff options
author | Bruce Rogers <brogers@suse.com> | 2013-04-02 12:41:40 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-04-03 15:06:44 -0500 |
commit | 560e63965232e37d1916a447125cf91c18a96930 (patch) | |
tree | 9580094bf8c1d109f25be620e086dd6291bb37d0 /hw/acpi.h | |
parent | a509d632c877f7b5fa07368879b8ae5919a6d345 (diff) | |
download | qemu-560e63965232e37d1916a447125cf91c18a96930.tar.gz qemu-560e63965232e37d1916a447125cf91c18a96930.tar.bz2 qemu-560e63965232e37d1916a447125cf91c18a96930.zip |
acpi: initialize s4_val used in s4 shutdown
While investigating why a 32 bit Windows 2003 guest wasn't able to
successfully perform a shutdown /h, it was discovered that commit
afafe4bbe0cf7d3318e1ac7b40925561f86a6bd4 inadvertently dropped the
initialization of the s4_val used to handle s4 shutdown.
Initialize the value as before.
Signed-off-by: Bruce Rogers <brogers@suse.com>
Message-id: 1364928100-487-1-git-send-email-brogers@suse.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/acpi.h')
-rw-r--r-- | hw/acpi.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -142,7 +142,7 @@ void acpi_pm1_evt_init(ACPIREGS *ar, acpi_update_sci_fn update_sci, MemoryRegion *parent); /* PM1a_CNT: piix and ich9 don't implement PM1b CNT. */ -void acpi_pm1_cnt_init(ACPIREGS *ar, MemoryRegion *parent); +void acpi_pm1_cnt_init(ACPIREGS *ar, MemoryRegion *parent, uint8_t s4_val); void acpi_pm1_cnt_update(ACPIREGS *ar, bool sci_enable, bool sci_disable); void acpi_pm1_cnt_reset(ACPIREGS *ar); |