]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw/acpi/ich9: clean up stale comment about KVM not supporting SMM
authorLaszlo Ersek <lersek@redhat.com>
Fri, 24 Jul 2015 18:16:01 +0000 (20:16 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 27 Jul 2015 19:44:47 +0000 (22:44 +0300)
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>
hw/acpi/ich9.c

index 8da5a2dfe31588f3b3de60fdb7b6f34180fd5578..1c7fcfa9d7b3e935b9de9b12311b3056eed5af02 100644 (file)
@@ -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;