[libvirt] [PATCH 6/6 v2] Convert QEMU capabilities code to use virArch