Re: [Qemu-devel] [QEMU]Where are debug logs

2013-01-22 Thread harryxiyou
On Wed, Jan 23, 2013 at 2:12 AM, Brendan Dolan-Gavitt wrote: > These are runtime options to QEMU. For example: "qemu-system-x86_64 -D > ~/qemu_debug.log -d in_asm". Ok, i will have a try. Thanks very much. > > Or are you trying to add *new* debugging statements to QEMU? If so, > look at the funct

Re: [Qemu-devel] [QEMU]Where are debug logs

2013-01-22 Thread Brendan Dolan-Gavitt
These are runtime options to QEMU. For example: "qemu-system-x86_64 -D ~/qemu_debug.log -d in_asm". Or are you trying to add *new* debugging statements to QEMU? If so, look at the functions in qemu-log.h, and at the constants defined in exec.c. -Brendan On Tue, Jan 22, 2013 at 12:59 PM, harryxiy

Re: [Qemu-devel] [QEMU]Where are debug logs

2013-01-22 Thread harryxiyou
On Wed, Jan 23, 2013 at 12:58 AM, Brendan Dolan-Gavitt wrote: > Assuming you're using one of the -d options to qemu, they will by > default go into /tmp/qemu.log. How to add -d options to qemu.(Configure qemu/configure or Makefile?) > You can also specify where to put the debug log using the -D

Re: [Qemu-devel] [QEMU]Where are debug logs

2013-01-22 Thread Brendan Dolan-Gavitt
Assuming you're using one of the -d options to qemu, they will by default go into /tmp/qemu.log. You can also specify where to put the debug log using the -D option. -Brendan On Tue, Jan 22, 2013 at 11:49 AM, harryxiyou wrote: > Hi all, > > When i debug our block driver in QEMU source codes, i c

[Qemu-devel] [QEMU]Where are debug logs

2013-01-22 Thread harryxiyou
Hi all, When i debug our block driver in QEMU source codes, i cannot find the debug logs for QEMU. I have searched /var/log/messages and /var/log/dmesg but i cannot find debug logs. Could anyone tell me how to find debug logs? Thanks in advance ;-) -- Thanks Harry Wei