Skip to content

Commit

Permalink
hw/intc/arm_gicv3_its: downgrade error_report to warn_report in kvm_a…
Browse files Browse the repository at this point in the history
…rm_its_reset

In scripts/arch-run.bash of kvm-unit-tests, it will check the qemu
output log with:
if [ -z "$(echo "$errors" | grep -vi warning)" ]; then

Thus without the warning prefix, all of the test fail.

Since it is not unrecoverable error in kvm_arm_its_reset for
current implementation, downgrading the report from error to
warn makes sense.

Signed-off-by: Jia He <jia.he@hxt-semitech.com>
Message-id: 1531969910-32843-1-git-send-email-jia.he@hxt-semitech.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  • Loading branch information
hejianet authored and pm215 committed Aug 20, 2018
1 parent 67c791f commit 84be3ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/intc/arm_gicv3_its_kvm.c
Expand Up @@ -211,7 +211,7 @@ static void kvm_arm_its_reset(DeviceState *dev)
return;
}

error_report("ITS KVM: full reset is not supported by the host kernel");
warn_report("ITS KVM: full reset is not supported by the host kernel");

if (!kvm_device_check_attr(s->dev_fd, KVM_DEV_ARM_VGIC_GRP_ITS_REGS,
GITS_CTLR)) {
Expand Down

0 comments on commit 84be3ef

Please sign in to comment.