[libvirt] [PATCH v2 17/25] src/xenxs:Refactor code formating event actions config