]> Git Repo - qemu.git/commitdiff
spapr: Remove @next_irq
authorAlexey Kardashevskiy <[email protected]>
Fri, 30 May 2014 09:34:17 +0000 (19:34 +1000)
committerAlexander Graf <[email protected]>
Fri, 27 Jun 2014 11:48:26 +0000 (13:48 +0200)
This removes @next_irq from sPAPREnvironment which was used in old
IRQ allocator as XICS is now responsible for IRQs and keeps track of
allocated IRQs.

Signed-off-by: Alexey Kardashevskiy <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
hw/ppc/spapr.c

index ea9bda9a685f2a3d17d98353f572249221b07d4f..a8ba916970cb5aca48dda48878908b9414efda22 100644 (file)
@@ -891,7 +891,7 @@ static const VMStateDescription vmstate_spapr = {
     .version_id = 2,
     .minimum_version_id = 1,
     .fields = (VMStateField[]) {
-        VMSTATE_UINT32(next_irq, sPAPREnvironment),
+        VMSTATE_UNUSED(4), /* used to be @next_irq */
 
         /* RTC offset */
         VMSTATE_UINT64(rtc_offset, sPAPREnvironment),
@@ -1295,7 +1295,6 @@ static void ppc_spapr_init(MachineState *machine)
     /* Set up Interrupt Controller before we create the VCPUs */
     spapr->icp = xics_system_init(smp_cpus * kvmppc_smt_threads() / smp_threads,
                                   XICS_IRQS);
-    spapr->next_irq = XICS_IRQ_BASE;
 
     /* init CPUs */
     if (cpu_model == NULL) {
This page took 0.0292 seconds and 4 git commands to generate.