[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/2] ACPI: Update cpu hotplug event for guest
From: |
pingfank |
Subject: |
[Qemu-devel] [PATCH 1/2] ACPI: Update cpu hotplug event for guest |
Date: |
Tue, 4 Oct 2011 19:13:37 +0800 |
From: Liu Ping Fan <address@hidden>
Need to update cpu hotplug event for guest when updating SCI event
Signed-off-by: Liu Ping Fan <address@hidden>
---
hw/acpi_piix4.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/hw/acpi_piix4.c b/hw/acpi_piix4.c
index 44eb8ae..f585226 100644
--- a/hw/acpi_piix4.c
+++ b/hw/acpi_piix4.c
@@ -94,7 +94,8 @@ static void pm_update_sci(PIIX4PMState *s)
ACPI_BITMASK_POWER_BUTTON_ENABLE |
ACPI_BITMASK_GLOBAL_LOCK_ENABLE |
ACPI_BITMASK_TIMER_ENABLE)) != 0) ||
- (((s->gpe.sts[0] & s->gpe.en[0]) & PIIX4_PCI_HOTPLUG_STATUS) != 0);
+ (((s->gpe.sts[0] & s->gpe.en[0]) &
+ (PIIX4_PCI_HOTPLUG_STATUS | PIIX4_CPU_HOTPLUG_STATUS)) != 0);
qemu_set_irq(s->irq, sci_level);
/* schedule a timer interruption if needed */
--
1.7.4.4
- [Qemu-devel] Enable x86 linux guest with cpu hotplug feature., pingfank, 2011/10/04
- [Qemu-devel] [PATCH] ACPI: Call ACPI remove handler when handling ACPI eject event, pingfank, 2011/10/04
- [Qemu-devel] [PATCH 1/2] ACPI: Update cpu hotplug event for guest,
pingfank <=
- [Qemu-devel] [PATCH 2/2] LAPIC: make lapic support cpu hotplug, pingfank, 2011/10/04
- Re: [Qemu-devel] [PATCH 2/2] LAPIC: make lapic support cpu hotplug, Anthony Liguori, 2011/10/04
- Re: [Qemu-devel] [PATCH 2/2] LAPIC: make lapic support cpu hotplug, Jan Kiszka, 2011/10/04
- Re: [Qemu-devel] [PATCH 2/2] LAPIC: make lapic support cpu hotplug, liu ping fan, 2011/10/05
- Re: [Qemu-devel] [PATCH 2/2] LAPIC: make lapic support cpu hotplug, Jan Kiszka, 2011/10/05
- Re: [Qemu-devel] [PATCH 2/2] LAPIC: make lapic support cpu hotplug, liu ping fan, 2011/10/05
- Re: [Qemu-devel] [PATCH 2/2] LAPIC: make lapic support cpu hotplug, Anthony Liguori, 2011/10/05
- Re: [Qemu-devel] [PATCH 2/2] LAPIC: make lapic support cpu hotplug, Jan Kiszka, 2011/10/06
- Re: [Qemu-devel] [PATCH 2/2] LAPIC: make lapic support cpu hotplug, liu ping fan, 2011/10/07