test_qemu: Improve the error message.