From a7e00e2536941a6e570b45b7ab4afec4505ff67e Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Fri, 13 Nov 2015 17:11:51 +0100 Subject: 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 --- hw/microblaze/petalogix_ml605_mmu.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw') 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 */ -- cgit v1.2.3