qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thakur <thakur@symmetricore.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] How linux kernel is directly loaded?
Date: Sun, 01 Feb 2009 21:57:06 +0530	[thread overview]
Message-ID: <1233505626.6790.1.camel@himanshu-laptop> (raw)
In-Reply-To: <f43fc5580902010651t2496b587ta5a4f7d41d09a9c6@mail.gmail.com>

On Sun, 2009-02-01 at 16:51 +0200, Blue Swirl wrote:
> On 2/1/09, Thakur <thakur@symmetricore.com> wrote:
> > Hi,
> >
> >  I was searching for code in qemu which is directly able to load linux
> >  kernel with -k option. Which file implements it? Can someone point me to
> >  location where this load process is described? My objective is to load
> >  the Minix kernel in same fashion.
> 
> For PC architecture, it's done in hw/pc.c. There are ELF, a.out and
> binary load functions available, if you need them for Minix.
> 
> 

I don't have much knowledge of internals of qemu. I know how u-boot
loads the linux kernel, so  I was searching for similar pattern. :) How
does qemu know the entry point of the kernel?

Thanks

Regards
- Himanshu

  reply	other threads:[~2009-02-01 16:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-01  6:10 [Qemu-devel] How linux kernel is directly loaded? Thakur
2009-02-01 14:51 ` Blue Swirl
2009-02-01 16:27   ` Thakur [this message]
2009-02-01 19:36 ` Anthony Liguori

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=1233505626.6790.1.camel@himanshu-laptop \
    --to=thakur@symmetricore.com \
    --cc=qemu-devel@nongnu.org \
    /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).