]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
contrib/qemu_einj.py: make it more generic to allow other einj types
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 15 Jul 2024 12:26:15 +0000 (14:26 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 16 Jul 2024 05:44:10 +0000 (07:44 +0200)
commit044a3cffb20325271f8da482dfc00e25da9b0ea1
tree76cd01f099b1fd657a92ab130becdd81a423cf45
parent566a52622b1d5bd8d4b0d695674770da9c172260
contrib/qemu_einj.py: make it more generic to allow other einj types

Currently, the einj logic handles just ARM processor CPER events, but
it is easy to change it to support other types as well.

Rename the script and make it more generic to accept new subparsers
for different types of EINJ.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
contrib/qemu_einj.py [moved from util/arm_einj.py with 77% similarity]