>From 80c85020dbb421053270b029c0bc4ca2a995f2e5 Mon Sep 17 00:00:00 2001 From: Xiantao Zhang <xiantao.zhang@xxxxxxxxx> Date: Wed, 17 Sep 2008 15:10:37 +0800 Subject: [PATCH] kvm/ia64: Qemu: Set pmcntrl to SCI_EN by default when initalize acpi. Fix windows boot issue with acpi enabled. Signed-off-by: Xiantao Zhang <xiantao.zhang@xxxxxxxxx> --- qemu/hw/acpi.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/qemu/hw/acpi.c b/qemu/hw/acpi.c index 03e44bc..492d295 100644 --- a/qemu/hw/acpi.c +++ b/qemu/hw/acpi.c @@ -504,6 +504,7 @@ i2c_bus *piix4_pm_init(PCIBus *bus, int devfn, uint32_t smb_io_base, pci_conf[0x40] = 0x41; /* PM io base read only bit */ pci_conf[0x41] = 0x1f; pm_write_config(s, 0x80, 0x01, 1); /*Set default pm_io_base 0x1f40*/ + s->pmcntrl = SCI_EN; #endif register_ioport_write(0xb2, 2, 1, pm_smi_writeb, s); -- 1.5.1
Attachment:
0001-kvm-ia64-Qemu-Set-pmcntrl-to-SCI_EN-by-default-whe.patch
Description: 0001-kvm-ia64-Qemu-Set-pmcntrl-to-SCI_EN-by-default-whe.patch