[libvirt] [PATCH RESEND 1/4] qemu: Expose file opening functions