[libvirt] [PATCHv4 12/15] qemu: use common API for reading difficult files