qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Weil <weil@mail.berlios.de>
To: QEMU Developers <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PATCH] mips malta: Fix fdc regression
Date: Fri, 28 Aug 2009 13:48:20 +0200	[thread overview]
Message-ID: <1251460100-11333-1-git-send-email-weil@mail.berlios.de> (raw)
In-Reply-To: <4A97C3B4.8030006@mail.berlios.de>

8baf73adf664e79eae201c3f618078a220a661d9 (qdev/isa: convert fdc)
breaks MIPS Malta:

Tried to create isa device isa-fdc with no isa bus present

Fix this by creating an isa bus for piix4.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 hw/piix_pci.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/hw/piix_pci.c b/hw/piix_pci.c
index c9fef92..91fd038 100644
--- a/hw/piix_pci.c
+++ b/hw/piix_pci.c
@@ -365,6 +365,7 @@ static int piix4_initfn(PCIDevice *d)
 {
     uint8_t *pci_conf;
 
+    isa_bus_new(&d->qdev);
     register_savevm("PIIX4", 0, 2, piix_save, piix_load, d);
 
     pci_conf = d->config;
-- 
1.5.6.5

  reply	other threads:[~2009-08-28 11:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-27  5:41 [Qemu-devel] [BUG] Regression for machine using fdc Stefan Weil
2009-08-27  6:17 ` [Qemu-devel] [PATCH] mips malta: Fix fdc regression Stefan Weil
2009-08-28 11:47   ` [Qemu-devel] " Stefan Weil
2009-08-28 11:48     ` Stefan Weil [this message]
2009-08-28 17:37       ` [Qemu-devel] [PATCH] mips malta: Fix fdc regression and use qdev for i8042 setup Stefan Weil
2009-08-31  6:33         ` [Qemu-devel] " Gerd Hoffmann
2009-08-28 18:47       ` [Qemu-devel] Re: [PATCH] mips malta: Fix fdc regression Stefan Weil
2009-08-28 11:56     ` [Qemu-devel] [PATCH] mips malta: Use qdev for i8042 setup Stefan Weil
2009-08-28 12:13       ` [Qemu-devel] " Stefan Weil
2009-08-27  6:26 ` [Qemu-devel] [BUG] Regression for machine using fdc Stefan Weil
2009-08-27  8:06   ` Gerd Hoffmann
2009-08-27 19:46   ` Hervé Poussineau

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=1251460100-11333-1-git-send-email-weil@mail.berlios.de \
    --to=weil@mail.berlios.de \
    --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).