qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [RFC] linuxboot Option ROM for Linux kernel booting


From: Nguyen Anh Quynh
Subject: [Qemu-devel] Re: [RFC] linuxboot Option ROM for Linux kernel booting
Date: Mon, 21 Apr 2008 12:36:48 +0900

Hmm, the last patch includes a binary. So please take this patch instead.

Thanks,
Q

# diffstat linuxboot1.diff
 Makefile             |   13 ++++-
 linuxboot/Makefile   |   40 +++++++++++++++
 linuxboot/boot.S     |   54 +++++++++++++++++++++
 linuxboot/farvar.h   |  130 +++++++++++++++++++++++++++++++++++++++++++++++++++
 linuxboot/rom.c      |  104 ++++++++++++++++++++++++++++++++++++++++
 linuxboot/signrom.c  |  128 ++++++++++++++++++++++++++++++++++++++++++++++++++
 linuxboot/util.h     |   69 +++++++++++++++++++++++++++
 qemu/Makefile        |    3 -
 qemu/Makefile.target |    2
 qemu/hw/linuxboot.c  |   39 +++++++++++++++
 qemu/hw/pc.c         |   22 +++++++-
 qemu/hw/pc.h         |    5 +
 12 files changed, 600 insertions(+), 9 deletions(-)





On Mon, Apr 21, 2008 at 12:33 PM, Nguyen Anh Quynh <address@hidden> wrote:
> Forget to say that this patch is against kvm-66.
>
>  Thanks,
>  Q
>
>
>
>  On Mon, Apr 21, 2008 at 12:32 PM, Nguyen Anh Quynh <address@hidden> wrote:
>  > Hi,
>  >
>  >  This should be submitted to upstream (but not to kvm-devel list), but
>  >  this is only the test code that I want to quickly send out for
>  >  comments. In case it looks OK, I will send it to upstream later.
>  >
>  >  Inspired by extboot and conversations with Anthony and HPA, this
>  >  linuxboot option ROM is a simple option ROM that intercepts int19 in
>  >  order to execute linux setup code. This approach eliminates the need
>  >  to manipulate the boot sector for this purpose.
>  >
>  >  To test it, just load linux kernel with your KVM/QEMU image using
>  >  -kernel option in normal way.
>  >
>  >  I succesfully compiled and tested it with kvm-66 on Ubuntu 7.10, guest
>  >  Ubuntu 8.04.
>  >
>  >  Thanks,
>  >  Quynh
>  >
>  >
>  >  # diffstat linuxboot1.diff
>  >   Makefile             |   13 ++++-
>  >   linuxboot/Makefile   |   40 +++++++++++++++
>  >   linuxboot/boot.S     |   54 +++++++++++++++++++++
>  >   linuxboot/farvar.h   |  130 
> +++++++++++++++++++++++++++++++++++++++++++++++++++
>  >   linuxboot/rom.c      |  104 ++++++++++++++++++++++++++++++++++++++++
>  >   linuxboot/signrom    |binary
>  >   linuxboot/signrom.c  |  128 
> ++++++++++++++++++++++++++++++++++++++++++++++++++
>  >   linuxboot/util.h     |   69 +++++++++++++++++++++++++++
>  >   qemu/Makefile        |    3 -
>  >   qemu/Makefile.target |    2
>  >   qemu/hw/linuxboot.c  |   39 +++++++++++++++
>  >   qemu/hw/pc.c         |   22 +++++++-
>  >   qemu/hw/pc.h         |    5 +
>  >   13 files changed, 600 insertions(+), 9 deletions(-)
>  >
>

Attachment: linuxboot1.1.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]