Re: [Qemu-devel] About the trace framework

2017-07-26 Thread Wang Dong
On 07/14/2017 09:25 PM, Stefan Hajnoczi wrote: On Thu, Jul 13, 2017 at 04:01:09PM +0800, Wang Dong wrote: On 07/10/2017 08:40 PM, Stefan Hajnoczi wrote: On Mon, Jul 10, 2017 at 01:24:23PM +0800, Xie Changlong wrote: 在 7/9/2017 5:57 PM, Wang Dong 写道: Hi, I am new to QEMU. But I got some

Re: [Qemu-devel] About the trace framework

2017-07-13 Thread Wang Dong
On 07/11/2017 05:39 PM, Xie Changlong wrote: 在 7/11/2017 9:33 AM, Wang Dong 写道: On 07/10/2017 01:24 PM, Xie Changlong wrote: 在 7/9/2017 5:57 PM, Wang Dong 写道: Hi, I am new to QEMU. But I got some problem so that I want to figure it out. So I try to debug qemu to see what happened

Re: [Qemu-devel] About the trace framework

2017-07-13 Thread Wang Dong
On 07/10/2017 08:40 PM, Stefan Hajnoczi wrote: On Mon, Jul 10, 2017 at 01:24:23PM +0800, Xie Changlong wrote: 在 7/9/2017 5:57 PM, Wang Dong 写道: Hi, I am new to QEMU. But I got some problem so that I want to figure it out. So I try to debug qemu to see what happened. And I found trace

Re: [Qemu-devel] About the trace framework

2017-07-10 Thread Wang Dong
On 07/10/2017 01:24 PM, Xie Changlong wrote: 在 7/9/2017 5:57 PM, Wang Dong 写道: Hi, I am new to QEMU. But I got some problem so that I want to figure it out. So I try to debug qemu to see what happened. And I found trace framework. I think this will help me understand the point. So I

[Qemu-devel] About the trace framework

2017-07-09 Thread Wang Dong
/tracing.txt tell. But when I execute the example command in it, nothing just happens. *./scripts/simpletrace.py trace-events-all trace-xx(my trace file produced by qemu) I am not sure what happened. Just ask this. Any clue will be appreciated. Thanks in advance. * -- Best regards. Wang Dong

[Qemu-devel] when the device property is called?

2017-06-12 Thread Wang Dong
rty function is called? * * * *Any clue will be very appreciated. Thanks in advance. * Thanks in advance. -- Best regards. Wang Dong

Re: [Qemu-devel] new to qemu with a simple question

2017-05-25 Thread Wang Dong
On 05/24/2017 09:30 PM, Eric Blake wrote: On 05/23/2017 09:56 PM, Wang Dong wrote: Hi guys, I am new to qemu. But I need do some job in it right now. When I try read qmp code. I found a interesting part against it. Some C source code is generate from json file. I wonder why this? What

Re: [Qemu-devel] new to qemu with a simple question

2017-05-24 Thread Wang Dong
Thank you, Fam. On 05/24/2017 11:11 AM, Fam Zheng wrote: On Wed, 05/24 10:56, Wang Dong wrote: Some C source code is generate from json file. I wonder why this? What is the benefits of this? This allows you to concentrate on the high level semantics of the QMP API, without worrying about C

[Qemu-devel] new to qemu with a simple question

2017-05-23 Thread Wang Dong
Hi guys, I am new to qemu. But I need do some job in it right now. When I try read qmp code. I found a interesting part against it. Some C source code is generate from json file. I wonder why this? What is the benefits of this? Thanks in advance. -- Best regards. Wang Dong