[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH v4 03/12] spapr: move cpu_setup after kvmppc_set_papr
From: |
Alexey Kardashevskiy |
Subject: |
[Qemu-ppc] [PATCH v4 03/12] spapr: move cpu_setup after kvmppc_set_papr |
Date: |
Fri, 30 Aug 2013 15:28:24 +1000 |
This moves the xics_cpu_setup() call after kvmppc_set_papr()
in order to get VCPUs initialized as this is required by upcoming
XICS-KVM.
Signed-off-by: Alexey Kardashevskiy <address@hidden>
---
hw/ppc/spapr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index c927ad5..2f759b3 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -1187,8 +1187,6 @@ static void ppc_spapr_init(QEMUMachineInitArgs *args)
}
env = &cpu->env;
- xics_cpu_setup(spapr->icp, cpu);
-
/* Set time-base frequency to 512 MHz */
cpu_ppc_tb_init(env, TIMEBASE_FREQ);
@@ -1202,6 +1200,8 @@ static void ppc_spapr_init(QEMUMachineInitArgs *args)
kvmppc_set_papr(cpu);
}
+ xics_cpu_setup(spapr->icp, cpu);
+
qemu_register_reset(spapr_cpu_reset, cpu);
}
--
1.8.4.rc4
- [Qemu-ppc] [PATCH v4 11/12] xics: Implement H_IPOLL, (continued)
- [Qemu-ppc] [PATCH v4 11/12] xics: Implement H_IPOLL, Alexey Kardashevskiy, 2013/08/30
- [Qemu-ppc] [PATCH v4 08/12] xics: split to xics and xics-common, Alexey Kardashevskiy, 2013/08/30
- [Qemu-ppc] [PATCH v4 02/12] xics: move reset and cpu_setup, Alexey Kardashevskiy, 2013/08/30
- [Qemu-ppc] [PATCH v4 05/12] xics: add pre_save/post_load dispatchers, Alexey Kardashevskiy, 2013/08/30
- [Qemu-ppc] [PATCH v4 04/12] xics: replace fprintf with error_report, Alexey Kardashevskiy, 2013/08/30
- [Qemu-ppc] [PATCH v4 06/12] xics: convert init() to realize(), Alexey Kardashevskiy, 2013/08/30
- [Qemu-ppc] [PATCH v4 12/12] xics: Implement H_XIRR_X, Alexey Kardashevskiy, 2013/08/30
- [Qemu-ppc] [PATCH v4 07/12] xics: add missing const specifiers to TypeInfo, Alexey Kardashevskiy, 2013/08/30
- [Qemu-ppc] [PATCH v4 10/12] xics-kvm: Support for in-kernel XICS interrupt controller, Alexey Kardashevskiy, 2013/08/30
- [Qemu-ppc] [PATCH v4 09/12] xics: add cpu_setup callback, Alexey Kardashevskiy, 2013/08/30
- [Qemu-ppc] [PATCH v4 03/12] spapr: move cpu_setup after kvmppc_set_papr,
Alexey Kardashevskiy <=