qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] how to use qemu log


From: Robert N
Subject: Re: [Qemu-discuss] how to use qemu log
Date: Wed, 16 Apr 2014 00:41:35 -0700

That is an old QEMU version and a lot has changed in the -D -d options, more 
recent versions use the following options for -D and -d :

-d item1[,...]
Enable logging of specified items. Use '-d help' for a list of log items. 
-D logfile
Output log in logfile instead of to stderr 


Example: In Qemu 2.0, the following logging options for -d xxx,xxx,... are 
available:

qemu-system-arm --machine virt -d help
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
op_opt     show micro ops (x86 only: before eflags optimization) and
after liveness analysis
int        show interrupts/exceptions in short format
exec       show trace before each executed TB (lots of logs)
cpu        show CPU state before block translation
pcall      x86 only: show protected mode far calls/returns/exceptions
cpu_reset  x86 only: show CPU state before CPU resets
ioport     show all i/o ports accesses
unimp      log unimplemented functionality
guest_errors log when the guest OS does something invalid (eg accessing a
non-existent register)


________________________________
> From: address@hidden 
> To: address@hidden 
> Date: Wed, 16 Apr 2014 12:00:33 +0800 
> Subject: [Qemu-discuss] how to use qemu log 
> 
> i used -d and -D options, but no log info in /tmp/qemu.log 
> and corresponding file. 
> how to use qemu log? or spicial option in compile qemu? 
> i use qemu 1.2.0. 
                                          


reply via email to

[Prev in Thread] Current Thread [Next in Thread]