On Fri, 24 Jul 2015 20:16:00 +0200 Laszlo Ersek <ler...@redhat.com> wrote:
> Otherwise on reboot firmware might think (due to APMC_EN remaining set > from the previous boot) that SMI support is absent. Reviewed-by: Igor Mammedov <imamm...@redhat.com> > > Cc: "Michael S. Tsirkin" <m...@redhat.com> > Cc: Igor Mammedov <imamm...@redhat.com> > Cc: Gerd Hoffmann <kra...@redhat.com> > Cc: Paolo Bonzini <pbonz...@redhat.com> > Cc: qemu-triv...@nongnu.org > Signed-off-by: Laszlo Ersek <ler...@redhat.com> > --- > hw/acpi/ich9.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c > index f04f6dc..8da5a2d 100644 > --- a/hw/acpi/ich9.c > +++ b/hw/acpi/ich9.c > @@ -221,6 +221,7 @@ static void pm_reset(void *opaque) > acpi_pm_tmr_reset(&pm->acpi_regs); > acpi_gpe_reset(&pm->acpi_regs); > > + pm->smi_en = 0; > if (!pm->smm_enabled) { > /* Mark SMM as already inited to prevent SMM from running. KVM does > not > * support SMM mode. */