* [Qemu-devel] Debugging with printf
@ 2013-12-11 14:36 Mar Tsan
2013-12-12 13:38 ` Stefan Hajnoczi
0 siblings, 1 reply; 5+ messages in thread
From: Mar Tsan @ 2013-12-11 14:36 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 340 bytes --]
Hello. I'm working with Android Emulator (which as I understand is
something like QEMU but not the same) and I would like to print messages
concerning the Emulator. What I mean is that I want to edit the source code
of the Emulator (adding some *printf*s to it) and display the results or
write them to a file. Can someone help me, please?
[-- Attachment #2: Type: text/html, Size: 377 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Debugging with printf
2013-12-11 14:36 [Qemu-devel] Debugging with printf Mar Tsan
@ 2013-12-12 13:38 ` Stefan Hajnoczi
2013-12-13 7:47 ` Mar Tsan
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Hajnoczi @ 2013-12-12 13:38 UTC (permalink / raw)
To: Mar Tsan; +Cc: qemu-devel
On Wed, Dec 11, 2013 at 04:36:14PM +0200, Mar Tsan wrote:
> Hello. I'm working with Android Emulator (which as I understand is
> something like QEMU but not the same) and I would like to print messages
> concerning the Emulator. What I mean is that I want to edit the source code
> of the Emulator (adding some *printf*s to it) and display the results or
> write them to a file. Can someone help me, please?
Please ask the Android (Emulator) community for help. This list is
about QEMU and we don't know specifics of the Android Emulator.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Debugging with printf
2013-12-12 13:38 ` Stefan Hajnoczi
@ 2013-12-13 7:47 ` Mar Tsan
2013-12-13 8:08 ` Fam Zheng
0 siblings, 1 reply; 5+ messages in thread
From: Mar Tsan @ 2013-12-13 7:47 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 808 bytes --]
I understand that they're not one and the same but there are similarities.
After all the Emulator is based on QEMU. How would someone go about editing
QEMU source to display messages?
2013/12/12 Stefan Hajnoczi <stefanha@gmail.com>
> On Wed, Dec 11, 2013 at 04:36:14PM +0200, Mar Tsan wrote:
> > Hello. I'm working with Android Emulator (which as I understand is
> > something like QEMU but not the same) and I would like to print messages
> > concerning the Emulator. What I mean is that I want to edit the source
> code
> > of the Emulator (adding some *printf*s to it) and display the results or
> > write them to a file. Can someone help me, please?
>
> Please ask the Android (Emulator) community for help. This list is
> about QEMU and we don't know specifics of the Android Emulator.
>
> Stefan
>
[-- Attachment #2: Type: text/html, Size: 1271 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Debugging with printf
2013-12-13 7:47 ` Mar Tsan
@ 2013-12-13 8:08 ` Fam Zheng
2013-12-13 8:11 ` Mar Tsan
0 siblings, 1 reply; 5+ messages in thread
From: Fam Zheng @ 2013-12-13 8:08 UTC (permalink / raw)
To: Mar Tsan, Stefan Hajnoczi; +Cc: qemu-devel
On 2013年12月13日 15:47, Mar Tsan wrote:
> I understand that they're not one and the same but there are
> similarities. After all the Emulator is based on QEMU. How would someone
> go about editing QEMU source to display messages?
>
There are also similarities in editing any C program to display message.
You didn't say what information you want from QEMU and you said you know
it's about adding printf's, then what's the problem you have there?
Please be specific about your question. If you want to know how to get
or build the source code, here are some instructions:
http://wiki.qemu-project.org/Documentation/GettingStartedDevelopers
Thanks,
Fam
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Debugging with printf
2013-12-13 8:08 ` Fam Zheng
@ 2013-12-13 8:11 ` Mar Tsan
0 siblings, 0 replies; 5+ messages in thread
From: Mar Tsan @ 2013-12-13 8:11 UTC (permalink / raw)
To: Fam Zheng; +Cc: Stefan Hajnoczi, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 841 bytes --]
My problem is how do I read the information I want to print. From where?
What do I do?
2013/12/13 Fam Zheng <famz@redhat.com>
> On 2013年12月13日 15:47, Mar Tsan wrote:
>
>> I understand that they're not one and the same but there are
>> similarities. After all the Emulator is based on QEMU. How would someone
>> go about editing QEMU source to display messages?
>>
>>
> There are also similarities in editing any C program to display message.
> You didn't say what information you want from QEMU and you said you know
> it's about adding printf's, then what's the problem you have there? Please
> be specific about your question. If you want to know how to get or build
> the source code, here are some instructions:
>
> http://wiki.qemu-project.org/Documentation/GettingStartedDevelopers
>
> Thanks,
> Fam
>
[-- Attachment #2: Type: text/html, Size: 1414 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-12-13 8:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-11 14:36 [Qemu-devel] Debugging with printf Mar Tsan
2013-12-12 13:38 ` Stefan Hajnoczi
2013-12-13 7:47 ` Mar Tsan
2013-12-13 8:08 ` Fam Zheng
2013-12-13 8:11 ` Mar Tsan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).