summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>2015-11-13 17:11:51 +0100
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>2016-01-07 14:57:26 +0100
commita7e00e2536941a6e570b45b7ab4afec4505ff67e (patch)
tree96ded6f8f15afb94144b474a3aee02dc30f1ccfc /hw
parentad24f947be032033be53515456006effb951ab39 (diff)
downloadqemu-a7e00e2536941a6e570b45b7ab4afec4505ff67e.zip
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 <crosthwaite.peter@gmail.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/microblaze/petalogix_ml605_mmu.c1
1 files changed, 1 insertions, 0 deletions
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
*/