public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
To: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: [PATCH 3/3] Fix network boot with newer BIOS
Date: Wed, 05 Sep 2007 10:36:33 -0500	[thread overview]
Message-ID: <1189006593.26647.4.camel@squirrel> (raw)
In-Reply-To: <11890065031622-git-send-email-aliguori-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

Sorry, this should be 3/3.

Regards,

Anthony Liguori

On Wed, 2007-09-05 at 10:35 -0500, Anthony Liguori wrote:
> This patch is in QEMU CVS and allows network boot to work with newer BIOSes.
> It was originally written by Bernhard Kauer and committed (and modified) by
> Thiemo Seufer.
> 
> Signed-off-by: Anthony Liguori <aliguori-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
> 
> diff --git a/qemu/hw/pc.c b/qemu/hw/pc.c
> index f2917ca..d3b8786 100644
> --- a/qemu/hw/pc.c
> +++ b/qemu/hw/pc.c
> @@ -214,6 +214,9 @@ static void cmos_init(ram_addr_t ram_size, ram_addr_t above_4g_mem_size, int boo
>      case 'd':
>          rtc_set_memory(s, 0x3d, 0x03); /* CD-ROM boot */
>          break;
> +    case 'n':
> +        rtc_set_memory(s, 0x3d, 0x04); /* Expansion ROM boot */
> +        break;
>      }
> 
>      /* floppy type */
> diff --git a/qemu/vl.c b/qemu/vl.c
> index fcc899b..d67b12f 100644
> --- a/qemu/vl.c
> +++ b/qemu/vl.c
> @@ -7521,7 +7521,6 @@ int main(int argc, char **argv)
>  	    fprintf(stderr, "No valid PXE rom found for network device\n");
>  	    exit(1);
>  	}
> -	boot_device = 'c'; /* to prevent confusion by the BIOS */
>      }
>  #endif
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

  parent reply	other threads:[~2007-09-05 15:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-05 15:35 [PATCH 1/3] Make to round memory to next page Anthony Liguori
     [not found] ` <118900650250-git-send-email-aliguori-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2007-09-05 15:35   ` [PATCH 2/3] Fix option ROM loading Anthony Liguori
     [not found]     ` <11890065032226-git-send-email-aliguori-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2007-09-05 15:35       ` [PATCH] Fix network boot with newer BIOS Anthony Liguori
     [not found]         ` <11890065031622-git-send-email-aliguori-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2007-09-05 15:36           ` Anthony Liguori [this message]
2007-09-09 11:32   ` [PATCH 1/3] Make to round memory to next page Avi Kivity

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=1189006593.26647.4.camel@squirrel \
    --to=aliguori-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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