[libvirt] [PATCH v2 1/7] tests: qemu: Add helper code to lookup most recent capability file