summaryrefslogtreecommitdiffstats
path: root/documentation/QEMU Monitor Commands
diff options
context:
space:
mode:
authorRegia König2022-08-11 15:01:47 +0200
committerRegia König2022-08-11 15:01:47 +0200
commita66320ac2c199b4b10a82b08f73346fa39029173 (patch)
treeb70b4bc21ddecc91e6475d6abcc170968d940f3d /documentation/QEMU Monitor Commands
parentNew version of HelloWorld.efi (diff)
downloadmemtest86-a66320ac2c199b4b10a82b08f73346fa39029173.tar.gz
memtest86-a66320ac2c199b4b10a82b08f73346fa39029173.tar.xz
memtest86-a66320ac2c199b4b10a82b08f73346fa39029173.zip
Documentation QEMU Monitor commands
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..4fbb27e
--- /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 +
+
+ - 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