* [PATCH]kvm/ia64: Qemu: Set pmcntrl to SCI_EN by default when initalize acpi.
@ 2008-09-17 8:20 Zhang, Xiantao
2008-09-23 9:26 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Zhang, Xiantao @ 2008-09-17 8:20 UTC (permalink / raw)
To: kvm-ia64; +Cc: Avi Kivity, kvm
[-- Attachment #1: Type: text/plain, Size: 920 bytes --]
>From 80c85020dbb421053270b029c0bc4ca2a995f2e5 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
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@intel.com>
---
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 #2: 0001-kvm-ia64-Qemu-Set-pmcntrl-to-SCI_EN-by-default-whe.patch --]
[-- Type: application/octet-stream, Size: 892 bytes --]
From 80c85020dbb421053270b029c0bc4ca2a995f2e5 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
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@intel.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH]kvm/ia64: Qemu: Set pmcntrl to SCI_EN by default when initalize acpi.
2008-09-17 8:20 [PATCH]kvm/ia64: Qemu: Set pmcntrl to SCI_EN by default when initalize acpi Zhang, Xiantao
@ 2008-09-23 9:26 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2008-09-23 9:26 UTC (permalink / raw)
To: Zhang, Xiantao; +Cc: kvm-ia64, Avi Kivity, kvm
Zhang, Xiantao wrote:
> From 80c85020dbb421053270b029c0bc4ca2a995f2e5 Mon Sep 17 00:00:00 2001
> From: Xiantao Zhang <xiantao.zhang@intel.com>
> 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.
>
Applied, thanks. As usual, I urge you to fix your firmware instead of
hacking the hardware.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-23 9:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-17 8:20 [PATCH]kvm/ia64: Qemu: Set pmcntrl to SCI_EN by default when initalize acpi Zhang, Xiantao
2008-09-23 9:26 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox