X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=qemu%2Ftarget-microblaze%2Fhelper.c;h=4de6bdbf838e1c4b3ea50d4df8c27df034d1893e;hb=refs%2Fchanges%2F03%2F14303%2F1;hp=8257b0e0f2cb37c4c3cb4400428223e9e25c0f16;hpb=5bbd6fe9b8bab2a93e548c5a53b032d1939eec05;p=kvmfornfv.git diff --git a/qemu/target-microblaze/helper.c b/qemu/target-microblaze/helper.c index 8257b0e0f..4de6bdbf8 100644 --- a/qemu/target-microblaze/helper.c +++ b/qemu/target-microblaze/helper.c @@ -18,8 +18,10 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "qemu/host-utils.h" +#include "exec/log.h" #define D(x) @@ -128,7 +130,7 @@ void mb_cpu_do_interrupt(CPUState *cs) switch (cs->exception_index) { case EXCP_HW_EXCP: if (!(env->pvr.regs[0] & PVR0_USE_EXC_MASK)) { - qemu_log("Exception raised on system without exceptions!\n"); + qemu_log_mask(LOG_GUEST_ERROR, "Exception raised on system without exceptions!\n"); return; }