summaryrefslogtreecommitdiffstats
path: root/documentation/QEMU Monitor Commands
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/QEMU Monitor Commands')
-rw-r--r--documentation/QEMU Monitor Commands39
1 files changed, 39 insertions, 0 deletions
diff --git a/documentation/QEMU Monitor Commands b/documentation/QEMU Monitor Commands
new file mode 100644
index 0000000..bae7cf7
--- /dev/null
+++ b/documentation/QEMU Monitor Commands
@@ -0,0 +1,39 @@
+####################################################################
+#################### ###################
+### QEMU MONITOR COMMANDS ###
+#################### ###################
+####################################################################
+
+1. START QEMU MONITOR
+
+ - within viewer:
+ Ctrl + Alt + 2
+ exit with Ctrl + Alt + 1
+
+ - as QEMU parameter to get monitor in terminal:
+ -monitor stdio
+
+2. GET HELP
+
+ help
+ help info
+ help list
+
+3. SCROLL
+
+ Ctrl + PgUp/PgDown
+
+4. GDBSERVER
+
+ starts a remote session for the GNU debugger (gdb)
+ To connect to it from the host machine,
+ $gdb qemuKernelFile
+ target remote localhost:1234
+
+5. SHOW REGISTERS
+
+ info registers
+
+ eax = 32bit
+ rax = 64bit
+ rip = memory address of the next instruction to execute