public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Laurent Vivier <Laurent.Vivier@bull.net>
To: Sebastian Herbszt <herbszt@gmx.de>
Cc: bochs-developers@lists.sourceforge.net, kvm@vger.kernel.org
Subject: Re: [Bochs-developers] [PATCH][BIOS] Fill IPL table accordingdiscovered ATA drives
Date: Mon, 08 Dec 2008 11:05:30 +0100	[thread overview]
Message-ID: <1228730730.4025.2.camel@frecb07144> (raw)
In-Reply-To: <4A58ABD7D38C471D9D5865C3E634515E@FSCPC>

Le dimanche 07 décembre 2008 à 19:11 +0100, Sebastian Herbszt a écrit :
> Laurent Vivier wrote:
> > This patch shows in boot menu only available devices.
> > 
> > This patch has been tested with Bochs BIOS version from the KVM source tree.
> > 
> > Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
> > ---
> > bios/rombios.c |   54 +++++++++++++++++++++++++++++++++++++-----------------
> > 1 files changed, 37 insertions(+), 17 deletions(-)
> > 
> > diff --git a/bios/rombios.c b/bios/rombios.c
> > index 70b3584..d2a7c09 100644
> > --- a/bios/rombios.c
> > +++ b/bios/rombios.c
> > @@ -1981,18 +1981,6 @@ init_boot_vectors()
> >   memcpyb(IPL_SEG, IPL_TABLE_OFFSET + count * sizeof (e), ss, &e, sizeof (e));
> >   count++;
> > 
> > -  /* First HDD */
> > -  e.type = IPL_TYPE_HARDDISK; e.flags = 0; e.vector = 0; e.description = 0; e.reserved = 0;
> > -  memcpyb(IPL_SEG, IPL_TABLE_OFFSET + count * sizeof (e), ss, &e, sizeof (e));
> > -  count++;
> 
> We need this bit for the !BX_USE_ATADRV case. Please "#if !BX_USE_ATADRV ... #endif" it
> instead of removing.

If there is no ATA drive, what is the aim of adding an harddrive in the IPL table ?

Thank you for all your comments (I'm going to resend the two patches)

Regards,
Laurent
-- 
------------------ Laurent.Vivier@bull.net  ------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard


  reply	other threads:[~2008-12-08 10:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-05 16:20 [PATCH][BIOS] Fill IPL table according discovered ATA drives Laurent Vivier
2008-12-07 18:11 ` [Bochs-developers] [PATCH][BIOS] Fill IPL table accordingdiscovered " Sebastian Herbszt
2008-12-08 10:05   ` Laurent Vivier [this message]
2008-12-09 22:50     ` [Bochs-developers] [PATCH][BIOS] Fill IPL tableaccordingdiscovered " Sebastian Herbszt

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=1228730730.4025.2.camel@frecb07144 \
    --to=laurent.vivier@bull.net \
    --cc=bochs-developers@lists.sourceforge.net \
    --cc=herbszt@gmx.de \
    --cc=kvm@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