[libvirt PATCH 2/5] add virQEMUCapsGetVirtType convenience function