add '-serial mon:stdio' to qemu to make it possible to enter qemu's monitor by ctrl-a c