qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Editing qemu source code


From: Stefan Weil
Subject: Re: [Qemu-devel] Editing qemu source code
Date: Sun, 6 Aug 2017 13:44:52 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

Am 06.08.2017 um 13:25 schrieb Shantanu Agarwal:
> Hello all,
> I was reading about qemu, trying to understand the source code. I found
> that vl.c is considered the main file of qemu source code from where all
> the execution starts. So I flipped some values, i even put a exit(0) just
> after the int main starts, but nothing is changed. Qemu is fully
> functional. Also i put many printf's in between but no output at all. Am I
> missing something or vl.c is not the main file.
> 

Hi,

the main function in vl.c is the correct entry point.
If you don't see an effect of your changes, then you
are probably calling an executable which is not the
changed one.

What about using gdb to see what happens?

Regards
Stefan




reply via email to

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