[libvirt PATCH v2 08/12] util: add a method for checking if swtpm is available