title: redirect QEMU window output to terminal running qemu
body: <p>Im trying to debug the boot sequence of a linux kernel with qemu,
  the command i'm running is:</p>
  
  <pre><code>  qemu -serial stdio -kernel &lt;path to kernel&gt; -hda &lt;path to rootfs&gt; -append "root=/dev/sda terminal = ttyS0"
  </code></pre>
  
  <p>During boot all the kernel messages are printed to the QEMU window.
  Only when the boot has finished i get my prompt back to the terminal i ran QEMU in.</p>
  
  <p>Now i can start using the kernel terminal I'm running and seeing the output in the terminal and not in QEMU window.</p>
  
  <p>How do i get all messages including the boot messages to my terminal and not to QEMU window (because i cant scroll up in that window..) ?</p>