If it appears by affidavit that the testimony of a person is material in any criminal proceeding, and it reasonably appears that it will be impossible to secure his presence by a subpoena, a judge shall inquire into the conditions of his release pursuant to this article.
Va. Code § 19.2-127