Răsfoiți Sursa

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>
Laszlo Ersek 10 ani în urmă
părinte
comite
f3c30aeaa7
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  1. 1 2
      hw/acpi/ich9.c

+ 1 - 2
hw/acpi/ich9.c

@@ -223,8 +223,7 @@ static void pm_reset(void *opaque)
 
 
     pm->smi_en = 0;
     pm->smi_en = 0;
     if (!pm->smm_enabled) {
     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 |= ICH9_PMIO_SMI_EN_APMC_EN;
     }
     }
     pm->smi_en_wmask = ~0;
     pm->smi_en_wmask = ~0;