qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Weil <sw@weilnetz.de>
To: Shantanu Agarwal <shantanu16111994@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Editing qemu source code
Date: Sun, 6 Aug 2017 13:44:52 +0200	[thread overview]
Message-ID: <5c835b9a-cf6e-6c00-119c-c6082f288bf5@weilnetz.de> (raw)
In-Reply-To: <CADsqsq+TieaYKCUDLetQR7QVkubTV4w+82ByAQGzrrM6ebcGYg@mail.gmail.com>

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	other threads:[~2017-08-06 11:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-06 11:25 [Qemu-devel] Editing qemu source code Shantanu Agarwal
2017-08-06 11:44 ` Stefan Weil [this message]
2017-08-07  8:35   ` Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5c835b9a-cf6e-6c00-119c-c6082f288bf5@weilnetz.de \
    --to=sw@weilnetz.de \
    --cc=qemu-devel@nongnu.org \
    --cc=shantanu16111994@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).