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