QEMU Segfaulting...

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

QEMU Segfaulting...

Post by pcmattman »

Hi everyone,

I've been doing some ARM work in qemu-system-arm lately and have recently gotten stuck with a QEMU segfault that's reproducible.

Does anyone here have any idea how to turn on some debug logging (NOT guest to host assembly translation logging) or get some sort of backtrace so I can figure out why I'm getting the segfault?

Thanks in advance!
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

There is the "-d" option to QEMU, it would allow you to dump debugging information to a file. (/tmp/qemu.log)
qemu(1) wrote:Log items (comma separated):
out_asm - show generated host assembly code for each compiled TB
in_asm - show target assembly code for each compiled TB
op - show micro ops for each compiled TB (only usable if 'in_asm' used)
op_opt - show micro ops after optimization for each compiled TB
int - show interrupts/exceptions in short format
exec - show trace before each executed TB (lots of logs)
cpu - show CPU state before bloc translation
pcall - show protected mode far calls/returns/exceptions
So, qemu -d option (args).. ?
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
Post Reply