[libvirt PATCH v2 2/5] add virQEMUCapsGetVirtType convenience function