summaryrefslogtreecommitdiffstats
path: root/documentation/QEMU Monitor Commands
blob: bae7cf7bf5c3f24c914a8bb5f46b4be360b8ba06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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