qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabian Greffrath <fabian@greffrath.com>
To: John Snow <jsnow@redhat.com>
Cc: Stefan Hajnoczi <stefanha@gmail.com>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] suggestion for the QEMU advent calendar
Date: Mon, 08 Dec 2014 17:54:37 +0100	[thread overview]
Message-ID: <1418057677.8306.6.camel@greffrath.com> (raw)
In-Reply-To: <5485CBE8.4000405@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

Am Montag, den 08.12.2014, 11:03 -0500 schrieb John Snow: 
> If manually installing a bootable grub sounds gross, [...]

Actually, this turns out not to be necessary at all. After all, GRUB
Invaders is a multiboot-compliant kernel game and as such can be loaded
directly by means of qemu's -kernel parameter. Thus, the "run" script
would look like this:

qemu-system-i386 -kernel invaders.exec

Please find the kernel image attached. It is built from the Debian
sources found here:

https://packages.qa.debian.org/i/invaders.html

Hope this helps. If there are any further questions, please do not
hesitate to ask me.

- Fabian

PS: I am a bit shocked by the fact how complicated it is to install GRUB
on a disk image. And, John, even if the approach you outlined worked, I
guess GRUB will find its device.map puzzled when it will get rebooted
from inside an image file instead of an actual hard-drive partition the
next time.

[-- Attachment #2: invaders.exec --]
[-- Type: application/x-executable, Size: 6272 bytes --]

  reply	other threads:[~2014-12-08 16:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-05  8:37 [Qemu-devel] suggestion for the QEMU advent calendar Fabian Greffrath
2014-12-08 10:14 ` Stefan Hajnoczi
2014-12-08 15:54   ` Fabian Greffrath
2014-12-08 16:03     ` John Snow
2014-12-08 16:54       ` Fabian Greffrath [this message]
2014-12-08 17:19         ` Stefan Hajnoczi
2014-12-09  9:28         ` Kevin Wolf
2014-12-09  9:44           ` Fabian Greffrath
2014-12-09  9:51             ` Stefan Hajnoczi
2014-12-09  9:54               ` Fabian Greffrath

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=1418057677.8306.6.camel@greffrath.com \
    --to=fabian@greffrath.com \
    --cc=jsnow@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@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).