All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 2/2] qdev/pci: hook up i440fx.
Date: Wed, 22 Jul 2009 07:49:25 -0500	[thread overview]
Message-ID: <4A670AD5.7080700@codemonkey.ws> (raw)
In-Reply-To: <1248180900-16242-3-git-send-email-kraxel@redhat.com>

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 <kraxel@redhat.com>
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	other threads:[~2009-07-22 12:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-21 12:54 [Qemu-devel] [PATCH 0/2] qdev: convert devices Gerd Hoffmann
2009-07-21 12:54 ` [Qemu-devel] [PATCH 1/2] qdev: convert all vga devices Gerd Hoffmann
2009-07-21 12:55 ` [Qemu-devel] [PATCH 2/2] qdev/pci: hook up i440fx Gerd Hoffmann
2009-07-22 12:49   ` Anthony Liguori [this message]
2009-07-22 13:17     ` Gerd Hoffmann

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=4A670AD5.7080700@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=kraxel@redhat.com \
    --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.