qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/2] qdev/pci: hook up i440fx.


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 2/2] qdev/pci: hook up i440fx.
Date: Wed, 22 Jul 2009 15:17:01 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

On 07/22/09 14:49, Anthony Liguori wrote:
Gerd Hoffmann wrote:
Hook i44fx pcihost into sysbus.
Convert Host bridge and ISA bridge pci devices to qdev.
Tag as no-user.

Signed-off-by: Gerd Hoffmann <address@hidden>
I get an immediate SEGV with this patch:

#3 0x0000000000415a62 in pci_register_bus (parent=<value optimized out>,
name=<value optimized out>, set_irq=0x463300 <piix3_set_irq>, map_irq=0,
pic=0xfefefefefefefeff, devfn_min=2097152, nirq=4)
at /home/anthony/git/qemu/hw/pci.c:134

Ouch. It calls pci_register_bus(name=NULL). That doesn't work without this patch: http://lists.nongnu.org/archive/html/qemu-devel/2009-07/msg01139.html

Attached a fixed versin with s/NULL/"pci.0"/.

cheers,
  Gerd

Attachment: 0001-qdev-pci-hook-up-i440fx.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]