From: Duane Griffin <duaneg@dghda.com>
To: James Dolan <jamesdolan@clear.net.nz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Kernel testing in a VM good idea?
Date: Mon, 29 Jun 2009 09:32:16 +0100 [thread overview]
Message-ID: <e9e943910906290132odfb89c7t57ab1aca7203b476@mail.gmail.com> (raw)
In-Reply-To: <20090627185749.065bcab4@linux-uvcl.site>
2009/6/27 James Dolan <jamesdolan@clear.net.nz>:
> Are there any disadvantages to testing/developing a kernel in a VM ? (i
> luck the availability of hardware)
To start with the obvious, with a VM you don't need extra hardware. If
you make a silly mistake and trash the filesystem all you need to do
is copy a file, not reinstall a whole system. The hack/install/test
cycle can be as quick and easy as "make && ./test.sh", instead of
requiring you to copy files across to another machine, reboot, etc.
You can easily script tests, e.g. to create and boot from a COW image,
drive the VM through its console, then run checks within the VM and
externally for whatever it is you testing. You can give those scripts
and images to others to use, too.
Cheers,
Duane.
--
"I never could learn to drink that blood and call it wine" - Bob Dylan
next prev parent reply other threads:[~2009-06-29 8:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-27 22:57 James Dolan
2009-06-27 7:15 ` Aioanei Rares
2009-06-27 9:07 ` Maciej Rutecki
2009-06-29 8:32 ` Duane Griffin [this message]
2009-06-29 15:25 ` Petr Tesarik
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=e9e943910906290132odfb89c7t57ab1aca7203b476@mail.gmail.com \
--to=duaneg@dghda.com \
--cc=jamesdolan@clear.net.nz \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®