From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Patch: let qemu work with latest bochsbios
Date: Wed, 01 Aug 2007 11:02:58 -0500 [thread overview]
Message-ID: <46B0AEB2.9040709@codemonkey.ws> (raw)
In-Reply-To: <20070801154217.GC5570@chrom.inf.tu-dresden.de>
Bernhard Kauer wrote:
> The boot_device is not communicated to the bochsbios
> through the CMOS. The following patch allows to boot
> via network on the newest bochsbios.
>
>
> Bernhard Kauer
>
> ------------------------------------------------------------------------
>
> Index: vl.c
> ===================================================================
> RCS file: /sources/qemu/qemu/vl.c,v
> retrieving revision 1.323
> diff -u -r1.323 vl.c
> --- vl.c 29 Jul 2007 17:57:25 -0000 1.323
> +++ vl.c 1 Aug 2007 15:36:31 -0000
> @@ -7828,7 +7828,7 @@
> fprintf(stderr, "No valid PXE rom found for network device\n");
> exit(1);
> }
> - boot_device = 'c'; /* to prevent confusion by the BIOS */
> + //boot_device = 'c'; /* to prevent confusion by the BIOS */
> }
>
Please don't comment out code. Just delete it.
Regards,
Anthony Liguori
> #endif
>
> Index: hw/pc.c
> ===================================================================
> RCS file: /sources/qemu/qemu/hw/pc.c,v
> retrieving revision 1.81
> diff -u -r1.81 pc.c
> --- hw/pc.c 6 Jun 2007 16:26:13 -0000 1.81
> +++ hw/pc.c 1 Aug 2007 15:36:31 -0000
> @@ -197,6 +197,9 @@
> case 'd':
> rtc_set_memory(s, 0x3d, 0x03); /* CD-ROM boot */
> break;
> + case 'n':
> + rtc_set_memory(s, 0x3d, 0x04); /* Network boot */
> + break;
> }
>
> /* floppy type */
>
next prev parent reply other threads:[~2007-08-01 16:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-01 15:42 [Qemu-devel] Patch: let qemu work with latest bochsbios Bernhard Kauer
2007-08-01 16:02 ` Anthony Liguori [this message]
2007-08-04 13:05 ` Bernhard Kauer
2007-08-17 16:48 ` Bernhard Kauer
-- strict thread matches above, loose matches on Subject: below --
2007-08-01 15:41 Bernhard Kauer
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=46B0AEB2.9040709@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).