hw/acpi: acpi_pm1_cnt_init(): take "disable_s3" and "disable_s4"
commit9a10bbb4e83b184faef6fa744396a6775283c0aa
authorLaszlo Ersek <lersek@redhat.com>
Wed, 29 Apr 2015 13:20:14 +0000 (29 15:20 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 4 Jun 2015 09:25:42 +0000 (4 11:25 +0200)
tree4cdec0c77decfa470f79ddbeea91885575eac814
parentb5d3b039221f056befb3715471fee1f68214815c
hw/acpi: acpi_pm1_cnt_init(): take "disable_s3" and "disable_s4"

This patch only modifies the function prototype and updates all chipset
code that calls acpi_pm1_cnt_init() to pass in their own disable_s3 and
disable_s4 settings. vt82c686 is assumed to be fixed "S3 and S4 enabled".

RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1204696
Cc: Amit Shah <amit.shah@redhat.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Leon Alrae <leon.alrae@imgtec.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
hw/acpi/core.c
hw/acpi/ich9.c
hw/acpi/piix4.c
hw/isa/vt82c686.c
include/hw/acpi/acpi.h