[libvirt PATCH v3 4/5] use new functions when probing