]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
util/arm_einj.py: add an utility for ARM error injection via QEMU
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 10 Jul 2024 12:15:24 +0000 (14:15 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 10 Jul 2024 12:21:00 +0000 (14:21 +0200)
commit21f8c15cc7d550222e5b07826b272345bd93876f
tree18a21c21cd9a2a044f2d0d700245abbf3fe4eccd
parentefc150d2f727ee29458b4b6d4d033ed284c095b3
util/arm_einj.py: add an utility for ARM error injection via QEMU

Testing rasdaemon is not easy, as it depends on either having
real hardware producing events or a test BIOS. This is usually
not available and/or not too reliable.

So, take a different approach by adding a QEMU QAPI designed for
doing hardware error injection. The QEMU patches are at:

https://gitlab.com/mchehab_kernel/qemu/-/tree/arm-error-inject-v2

And some instructions about how to use it are at rasdaemon wiki
pages at github:

https://github.com/mchehab/rasdaemon/wiki

Add the error injection tool to rasdaemon sources.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
util/arm_einj.py [new file with mode: 0755]