Hi, In order to build current QEMU on ia64, we need to define CPUState as struct CPUIA64State instead of relying on the typedef. Please apply. Cheers, Jes
Define CPUState as struct CPUIA64State to avoid compile errors on ia64. Signed-off-by: Jes Sorensen <jes@xxxxxxx> --- qemu/target-ia64/cpu.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: kvm-userspace2.git/qemu/target-ia64/cpu.h =================================================================== --- kvm-userspace2.git.orig/qemu/target-ia64/cpu.h +++ kvm-userspace2.git/qemu/target-ia64/cpu.h @@ -40,13 +40,15 @@ #include "cpu-defs.h" #include "softfloat.h" + +#define CPUState struct CPUIA64State + typedef struct CPUIA64State { CPU_COMMON; uint32_t hflags; int mp_state; } CPUIA64State; -#define CPUState CPUIA64State #define cpu_gen_code cpu_ia64_gen_code #define cpu_init cpu_ia64_init #define cpu_signal_handler cpu_ia64_signal_handler