QEMU: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
Creature (talk | contribs)
m Added information about output to the console.
→‎The QEMU monitor: Redirect the monitor interface using '-monitor stdio'.
Line 107:
 
===The QEMU monitor===
When you hit CTRL-ALT-2 you are placed in the QEMU monitor which is a command-line for querying information about the system while it is running. It does not quite act as a debugger, but, used in combination with GDB-stub, you can get pretty much all the functionality you will need. In Unix hosts, you can even redirect this monitor interface to the standard output using the
-monitor stdio
 
command-line option. Some useful commands:
; xp : eXamine Physical memory. Much like GDB's <tt>x</tt> command, but with no address translation.
; cpu n : switch to CPU n. Note that GDB's threads are numbered from 1, but QEMU's CPUs are numbered from 0.