[PATCH 4/4] qemu: Open chardev logfile on behalf of QEMU