From f3c30aeaa7888aee96a1fa28f259fb8312d47ab2 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Fri, 24 Jul 2015 20:16:01 +0200 Subject: [PATCH] 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" Cc: Igor Mammedov Cc: Gerd Hoffmann Cc: Paolo Bonzini Cc: qemu-trivial@nongnu.org Signed-off-by: Laszlo Ersek Reviewed-by: Igor Mammedov Signed-off-by: Michael Tokarev --- hw/acpi/ich9.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c index 8da5a2dfe3..1c7fcfa9d7 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;