[libvirt] [PATCH v6 1/4] tests: rewrite qemu capability grouper in Python