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/vt82c686.c | |
parent | a509d632c877f7b5fa07368879b8ae5919a6d345 (diff) |
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/vt82c686.c')
-rw-r--r-- | hw/vt82c686.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vt82c686.c b/hw/vt82c686.c index 452950826c..9d9b64eedd 100644 --- a/hw/vt82c686.c +++ b/hw/vt82c686.c @@ -360,7 +360,7 @@ static int vt82c686b_pm_initfn(PCIDevice *dev) acpi_pm_tmr_init(&s->ar, pm_tmr_timer, &s->io); acpi_pm1_evt_init(&s->ar, pm_tmr_timer, &s->io); - acpi_pm1_cnt_init(&s->ar, &s->io); + acpi_pm1_cnt_init(&s->ar, &s->io, 2); return 0; } |