[libvirt] [PATCH] qemu: fix capability counting