[libvirt] [PATCH 14/15] Move loop device setup code into virfile.{c, h}