hw/lm32: print error if cpu model is not found
commitf41152bd9d01ab327c19a3828bb7896d67cf0752
authorMichael Walle <michael@walle.cc>
Thu, 28 Nov 2013 18:09:33 +0000 (28 19:09 +0100)
committerMichael Walle <michael@walle.cc>
Tue, 4 Feb 2014 18:47:39 +0000 (4 19:47 +0100)
tree236774e678a5f439f54c6e18953afe69a0d5a4cb
parent667ff9612b786f9bb5b70135811164b48b7d44eb
hw/lm32: print error if cpu model is not found

QEMU crashed if a the given cpu_model is not found.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
hw/lm32/lm32_boards.c
hw/lm32/milkymist.c