From: Anthony Liguori <aliguori@us.ibm.com>
To: Nguyen Anh Quynh <aquynh@gmail.com>
Cc: kvm-devel@lists.sourceforge.net
Subject: Re: Extboot Option ROM rewritten in C - v2
Date: Wed, 16 Apr 2008 09:25:52 -0500 [thread overview]
Message-ID: <48060C70.6040407@us.ibm.com> (raw)
In-Reply-To: <9cde8bff0804160007x3ed95c0cve2ee36e48ad52815@mail.gmail.com>
Nguyen Anh Quynh wrote:
> Hi Anthony,
>
> I found a bug in the last code: send_command() failed to copy back the
> result into extboot_cmd structure. This patch fixes it.
>
> I succesfully tested this version with guest Win2K (fully updated,
> scsi boot) and Linux 2.6.25-rc8 (virtio).
>
> Let me know if you can boot Windows with this version.
>
I'll test it out. Please send it to the list as a patch against
kvm-userspace.
Regards,
Anthony Liguori
> Thanks,
> Quynh
> ---
> This code is an attempt to rewrite the current extboot option rom in
> C. The new code now minimize the assembly code, so that the assembly
> code is very small and simple: boot.S's only job is to interface with
> C code, which does all the dirty job. "signrom" is modified to adapt
> with the new result binary image.
>
> The result option rom has the same size as the original one: 1.5KB,
> while the actual code size is around the same: 1.2KB (gcc can optimize
> really well)
>
> To install this option rom, do the following steps as root:
>
> make
> make save <--- backup the original option rom to
> /usr/share/qemu/extboot.bin.org
> make install <--- overwrite the new option rom to
> /usr/share/qemu/extboot.bin
>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
next prev parent reply other threads:[~2008-04-16 14:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-16 7:07 Extboot Option ROM rewritten in C - v2 Nguyen Anh Quynh
2008-04-16 14:25 ` Anthony Liguori [this message]
2008-04-16 15:02 ` Anthony Liguori
2008-04-16 15:04 ` Anthony Liguori
2008-04-17 1:26 ` Nguyen Anh Quynh
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=48060C70.6040407@us.ibm.com \
--to=aliguori@us.ibm.com \
--cc=aquynh@gmail.com \
--cc=kvm-devel@lists.sourceforge.net \
/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