summaryrefslogblamecommitdiffstats
path: root/documentation/QEMU Monitor Commands
blob: 4fbb27e461104a31f84f5d40cdf34d5ff2d30fe7 (plain) (tree)






































                                                                    
####################################################################
####################                             ###################
###			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