From: Matt Evans <matt@ozlabs.org>
To: David Evensky <evensky@dancer.ca.sandia.gov>
Cc: kvm@vger.kernel.org
Subject: Re: can kvm tool load vmlinux?
Date: Thu, 15 Dec 2011 11:49:46 +1100 [thread overview]
Message-ID: <4EE9442A.7070400@ozlabs.org> (raw)
In-Reply-To: <20111214212418.GD11075@dancer.ca.sandia.gov>
On 15/12/11 08:24, David Evensky wrote:
>
> I've been trying see if I can use a vmlinux kernel binary image with kvm tool.
> If use a bzImage as
>
> lkvm run -k .../bzImage --console serial -d /dev/null
>
> which runs until it expectedly dies since I didn't give it an initramfs or disk.
> However, when I try:
>
> lkvm run -k .../bzImage --console serial -d /dev/null
>
> I get the following printed and then nothing:
>
> # kvm run -k .../vmlinux -m 448 -c 4 --name guest-12289
> Warning: .../vmlinux is not a bzImage. Trying to load it as a flat binary...
>
>
> Is this supposed to work?
Hi David,
Currently there are loaders for bzImages and flat binaries only. Since your
vmlinux is not detected as a bzImage (it's a plain ELF), kvmtool will assume
it's a flat binary (which it isn't) & try that. Boom!
An ELF loader would be cool though. (Maybe if I find time...)
Cheers,
Matt
prev parent reply other threads:[~2011-12-15 0:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-14 21:24 can kvm tool load vmlinux? David Evensky
2011-12-15 0:49 ` Matt Evans [this message]
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=4EE9442A.7070400@ozlabs.org \
--to=matt@ozlabs.org \
--cc=evensky@dancer.ca.sandia.gov \
--cc=kvm@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.