From: Edgar E. Iglesias Date: Fri, 13 Nov 2015 16:11:51 +0000 (+0100) Subject: petalogix-ml605: Set the MicroBlaze CPU version to 8.10.a X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a7e00e2536941a6e570b45b7ab4afec4505ff67e;p=qemu.git petalogix-ml605: Set the MicroBlaze CPU version to 8.10.a Set the MicroBlaze CPU version to 8.10.a avoiding a runtime warning due to an unset CPU version. Reviewed-by: Peter Crosthwaite Signed-off-by: Edgar E. Iglesias --- diff --git a/hw/microblaze/petalogix_ml605_mmu.c b/hw/microblaze/petalogix_ml605_mmu.c index 462060f093..edfb30f697 100644 --- a/hw/microblaze/petalogix_ml605_mmu.c +++ b/hw/microblaze/petalogix_ml605_mmu.c @@ -81,6 +81,7 @@ petalogix_ml605_init(MachineState *machine) /* init CPUs */ cpu = MICROBLAZE_CPU(object_new(TYPE_MICROBLAZE_CPU)); + object_property_set_str(OBJECT(cpu), "8.10.a", "version", &error_abort); /* Use FPU but don't use floating point conversion and square * root instructions */