X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=qemu%2Ftarget-microblaze%2Fhelper.c;h=4de6bdbf838e1c4b3ea50d4df8c27df034d1893e;hb=a14b48d18a9ed03ec191cf16b162206998a895ce;hp=8257b0e0f2cb37c4c3cb4400428223e9e25c0f16;hpb=e44e3482bdb4d0ebde2d8b41830ac2cdb07948fb;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; }