qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Graf <agraf@suse.de>
To: qemu-devel@nongnu.org
Cc: Glauber Costa <glommer@redhat.com>,
	Juan Quintela <quintela@redhat.com>, Avi Kivity <avi@redhat.com>,
	Christoph Hellwig <hch@lst.de>
Subject: [Qemu-devel] [PATCH 0/6] Fix -kernel with SeaBIOS v2
Date: Thu, 12 Nov 2009 21:53:09 +0100	[thread overview]
Message-ID: <1258059195-17582-1-git-send-email-agraf@suse.de> (raw)

SeaBIOS clears RAM between we write our -kernel image to RAM and the int19
handler gets triggered.

So in order to work around that, I sat down and implemented Avi's suggestion
of "downloading" all blobs in runtime from the fw_cfg interface

Thanks to glommer who talked me into doing it ;-).

v1 -> v2:

  - rename copy_rom -> rom_copy
  - introduce fw_cfg compat loader for loadvm

Alexander Graf (6):
  Make fw_cfg interface 32-bit aware
  Introduce rom_rom
  Convert multiboot to fw_cfg backed data storage
  Move common option rom code to header file
  Convert linux bootrom to external rom and fw_cfg
  Add linuxboot to BLOBS

 Makefile                      |    2 +-
 hw/fw_cfg.c                   |   30 ++++++--
 hw/fw_cfg.h                   |   13 +++-
 hw/loader.c                   |   38 +++++++++
 hw/loader.h                   |    1 +
 hw/pc.c                       |  169 +++++++++++++----------------------------
 pc-bios/optionrom/Makefile    |    2 +-
 pc-bios/optionrom/linuxboot.S |  140 ++++++++++++++++++++++++++++++++++
 pc-bios/optionrom/multiboot.S |  108 ++++++++++-----------------
 pc-bios/optionrom/optionrom.h |  107 ++++++++++++++++++++++++++
 10 files changed, 416 insertions(+), 194 deletions(-)
 create mode 100644 pc-bios/optionrom/linuxboot.S
 create mode 100644 pc-bios/optionrom/optionrom.h

             reply	other threads:[~2009-11-12 20:53 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-12 20:53 Alexander Graf [this message]
2009-11-12 20:53 ` [Qemu-devel] [PATCH 1/6] Make fw_cfg interface 32-bit aware Alexander Graf
2009-11-13  0:48   ` [Qemu-devel] " Glauber Costa
2009-11-13  6:15     ` Alexander Graf
2009-11-13 10:59       ` Juan Quintela
2009-11-14 10:13         ` Alexander Graf
2009-11-12 20:53 ` [Qemu-devel] [PATCH 2/6] Introduce rom_rom Alexander Graf
2009-11-12 20:53 ` [Qemu-devel] [PATCH 3/6] Convert multiboot to fw_cfg backed data storage Alexander Graf
2009-11-12 20:53 ` [Qemu-devel] [PATCH 4/6] Move common option rom code to header file Alexander Graf
2009-11-12 20:53 ` [Qemu-devel] [PATCH 5/6] Convert linux bootrom to external rom and fw_cfg Alexander Graf
2009-11-13  6:37   ` [Qemu-devel] " Paolo Bonzini
2009-11-25 10:38     ` Alexander Graf
2009-11-25 12:49       ` [Qemu-devel] [PATCH] Fix thinko in linuxboot.S Paolo Bonzini
2009-11-25 12:53         ` [Qemu-devel] " Alexander Graf
2009-11-25 13:21           ` Paolo Bonzini
2009-11-12 20:53 ` [Qemu-devel] [PATCH 6/6] Add linuxboot to BLOBS Alexander Graf
2009-11-18 19:02 ` [Qemu-devel] [PATCH 0/6] Fix -kernel with SeaBIOS v2 Christoph Hellwig
2009-11-18 19:55   ` Anthony Liguori
2009-11-18 20:06     ` Christoph Hellwig
2009-11-18 22:06       ` Anthony Liguori
2009-11-20  9:12         ` Christoph Hellwig
2009-11-20 10:53           ` Alexander Graf
2009-11-20 11:31             ` Christoph Hellwig
2009-11-20 11:34               ` Alexander Graf
2009-11-20 13:53                 ` Anthony Liguori
2009-11-23 20:21                 ` Christoph Hellwig
2009-11-23 21:28                   ` Alexander Graf
2009-11-23 21:36                     ` Christoph Hellwig
2009-11-25  9:58                       ` Alexander Graf
2009-11-26 11:42                         ` Christoph Hellwig
2009-11-26 12:00                           ` Alexander Graf
2009-11-26 12:18                             ` Christoph Hellwig
2009-11-26 12:24                               ` Alexander Graf
2009-11-30 18:50                                 ` Christoph Hellwig
2009-11-30 18:54                                   ` Avi Kivity
2009-12-11 16:39                                     ` Christoph Hellwig

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=1258059195-17582-1-git-send-email-agraf@suse.de \
    --to=agraf@suse.de \
    --cc=avi@redhat.com \
    --cc=glommer@redhat.com \
    --cc=hch@lst.de \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.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).