[PATCH] acpi_piix4: remove bad save/restore of cpus_sts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Introduced by a mismerge and segfaults immediately.  Still need proper
save/restore of this field.

Signed-off-by: Avi Kivity <avi@xxxxxxxxxx>
---
 hw/acpi.h       |    1 -
 hw/acpi_piix4.c |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/hw/acpi.h b/hw/acpi.h
index 96f1d5f..c141e65 100644
--- a/hw/acpi.h
+++ b/hw/acpi.h
@@ -133,7 +133,6 @@ struct ACPIGPE {
 
     uint8_t *sts;
     uint8_t *en;
-    uint8_t *cpu_sts;
 };
 typedef struct ACPIGPE ACPIGPE;
 
diff --git a/hw/acpi_piix4.c b/hw/acpi_piix4.c
index 9dc6f43..b582302 100644
--- a/hw/acpi_piix4.c
+++ b/hw/acpi_piix4.c
@@ -235,7 +235,6 @@ static const VMStateDescription vmstate_gpe = {
     .fields      = (VMStateField []) {
         VMSTATE_GPE_ARRAY(sts, ACPIGPE),
         VMSTATE_GPE_ARRAY(en, ACPIGPE),
-        VMSTATE_UINT8_ARRAY(cpus_sts, struct gpe_regs, 32),
         VMSTATE_END_OF_LIST()
     }
 };
-- 
1.7.4.3

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux