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: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 2/2] qdev/pci: hook up i440fx.
Date: Wed, 22 Jul 2009 07:49:25 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

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:

#0  strlen () at ../sysdeps/x86_64/strlen.S:48
#1  0x00000000004698cb in qemu_strdup (str=0x0)
   at /home/anthony/git/qemu/qemu-malloc.c:76
#2  0x00000000004aeb9c in qbus_create (info=0x8132e0, parent=0x1fb8010,
   name=0x0) at /home/anthony/git/qemu/hw/qdev.c:239
#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
#4 0x00000000004632b9 in i440fx_init (pi440fx_state=0xb9ab08, pic=0x1f4f5c0)
   at /home/anthony/git/qemu/hw/piix_pci.c:210
#5  0x0000000000447898 in pc_init1 (ram_size=<value optimized out>,
   boot_device=0x7fffaddd1670 "cad", kernel_filename=0x571e4c "ne2k_pci",
   kernel_cmdline=0x5b06eb "", initrd_filename=0x0,
   cpu_model=<value optimized out>, pci_enabled=1, compat_level=0)
   at /home/anthony/git/qemu/hw/pc.c:1277
#6  0x0000000000447c58 in pc_init_pci (ram_size=0, boot_device=0x0,
   kernel_filename=0x0, kernel_cmdline=0x0,
initrd_filename=0xfefefefefefefeff <Address 0xfefefefefefefeff out of bounds>, cpu_model=0x200000 <Address 0x200000 out of bounds>)
   at /home/anthony/git/qemu/hw/pc.c:1474
#7  0x000000000040d983 in main (argc=6, argv=0x7fffaddd1808,
   envp=<value optimized out>) at /home/anthony/git/qemu/vl.c:5976

Regards,

Anthony Liguori




reply via email to

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