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