aboutsummaryrefslogtreecommitdiff
path: root/hw/acpi
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2015-07-24 20:16:01 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2015-07-27 22:44:47 +0300
commitf3c30aeaa7888aee96a1fa28f259fb8312d47ab2 (patch)
tree27cfc3dbd0d9cce8639d6acf515986487cc9799c /hw/acpi
parentbe66680e8320d612f1c96096a217e642e458f47b (diff)
downloadqemu-f3c30aeaa7888aee96a1fa28f259fb8312d47ab2.zip
qemu-f3c30aeaa7888aee96a1fa28f259fb8312d47ab2.tar.gz
qemu-f3c30aeaa7888aee96a1fa28f259fb8312d47ab2.tar.bz2
hw/acpi/ich9: clean up stale comment about KVM not supporting SMM
Commit fba72476c6 ("ich9: add smm_enabled field and arguments") detached SMM availability from kvm_enabled(). However, the comment in pm_reset() was not updated; let's do it now. Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Igor Mammedov <imammedo@redhat.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: qemu-trivial@nongnu.org Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/acpi')
-rw-r--r--hw/acpi/ich9.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c
index 8da5a2d..1c7fcfa 100644
--- a/hw/acpi/ich9.c
+++ b/hw/acpi/ich9.c
@@ -223,8 +223,7 @@ static void pm_reset(void *opaque)
pm->smi_en = 0;
if (!pm->smm_enabled) {
- /* Mark SMM as already inited to prevent SMM from running. KVM does not
- * support SMM mode. */
+ /* Mark SMM as already inited to prevent SMM from running. */
pm->smi_en |= ICH9_PMIO_SMI_EN_APMC_EN;
}
pm->smi_en_wmask = ~0;