From: Sylvain Petreolle <spetreolle@yahoo.fr>
To: qemu-devel@nongnu.org
Subject: Re : [Qemu-devel] Re: patch: (attempt to) emulate 440BX/PIIX4
Date: Wed, 18 Mar 2009 16:12:59 +0000 (GMT) [thread overview]
Message-ID: <201500.89408.qm@web24507.mail.ird.yahoo.com> (raw)
In-Reply-To: 49C0F7D9.8040504@icyb.net.ua
----- Message d'origine ----
> De : Andriy Gapon <avg@icyb.net.ua>
> À : qemu-devel@nongnu.org
> Envoyé le : Mercredi, 18 Mars 2009, 14h32mn 09s
> Objet : [Qemu-devel] Re: patch: (attempt to) emulate 440BX/PIIX4
>
> on 17/03/2009 18:00 Andriy Gapon said the following:
> > on 17/03/2009 17:58 Andriy Gapon said the following:
> >> With the attached patches to qemu (against 0.10.0 release) and bochs bios
> (against
> >> latest from git plus qemu patches on top), I was able to boot win2k image
> that was
> >> transfered from physical system with 440BX/PIIX4E hardware (MS-6163
> motherboard).
> >>
> >> The patches are unconditional, but it won't be too hard to put the
> differences
> >> under compile-time condition.
> >>
> >> Apparently qemu already emulates enough of 440BX/PIIX4 sufficiently well - I
> >> didn't have any blue screens or other issues so far.
> >
> > Sorry, I sent the bios patch with some debugging cruft.
>
> Also, qemu patch was missing some changes in piix_pci.c as I discovered after a
> crash that happened when setting up an interrupt for ne2000.
> So updated qemu patch is here.
>
>
> --
> Andriy Gapon
This part should should change piix3_devfn to piix4_devfn IMHO.
--- hw/pc.c.orig 2009-03-04 22:54:45.000000000 +0000
+++ hw/pc.c 2009-03-17 07:47:58.120091474 +0000
@@ -938,7 +941,7 @@
if (pci_enabled) {
pci_bus = i440fx_init(&i440fx_state, i8259);
- piix3_devfn = piix3_init(pci_bus, -1);
+ piix3_devfn = piix4_init(pci_bus, 7 << 3);
Kind regards,
Sylvain Petreolle
next prev parent reply other threads:[~2009-03-18 16:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-17 15:58 [Qemu-devel] patch: (attempt to) emulate 440BX/PIIX4 Andriy Gapon
2009-03-17 16:00 ` [Qemu-devel] " Andriy Gapon
2009-03-18 13:32 ` Andriy Gapon
2009-03-18 16:12 ` Sylvain Petreolle [this message]
2009-03-19 14:56 ` [Qemu-devel] Re: Re : " Andriy Gapon
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=201500.89408.qm@web24507.mail.ird.yahoo.com \
--to=spetreolle@yahoo.fr \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.