error handling in inperfect qemu-log