kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: fser@code-libre.org (François)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Free Linux/Ubuntu VMs for Kernal Development?
Date: Tue, 14 Mar 2017 11:15:02 +0100	[thread overview]
Message-ID: <20170314101501.GB17124@sith> (raw)
In-Reply-To: <67cf1b72-57ff-717f-bc39-fc2a52693534@gmail.com>

On Tue, Mar 14, 2017 at 12:18:33PM +0800, Freeman Zhang wrote:
> On 3/14/17 12:04 PM, Balaji Barmavat wrote:
> > Anybody's has any VM's links to download, for practice kernel
> programming?
> 
> Well, I am using QEMU system emulator, for it's easier to connect to GDB
> debugging and itself handles bootloader thing. You can set all things up
> by one line parameters, really tidy.
> 
> The disadvantage is that I've been told system running in QEMU is slow,
> but for kernel programming that wouldn't be the problem, will it?
> 
> What about others?

Depending on what you're working on, you can also use User Mode Linux
(UML) [1] which produces a elf, that you can run easily on top of your
existing linux distro.
Basically, you have to choose the "um" arch when compiling your kernel.

[1] http://user-mode-linux.sourceforge.net/old/UserModeLinux-HOWTO.html

  reply	other threads:[~2017-03-14 10:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-14  4:04 Free Linux/Ubuntu VMs for Kernal Development? Balaji Barmavat
2017-03-14  4:18 ` Freeman Zhang
2017-03-14 10:15   ` François [this message]
2017-03-16  4:22     ` Praveen Kumar
2017-03-16 20:41       ` Balaji Barmavat

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=20170314101501.GB17124@sith \
    --to=fser@code-libre.org \
    --cc=kernelnewbies@lists.kernelnewbies.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).