[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 26/30] grackle: remove broken pci device
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [PATCH 26/30] grackle: remove broken pci device |
Date: |
Sun, 8 Jan 2012 02:46:06 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Mon, Jan 02, 2012 at 06:52:15PM -0600, Anthony Liguori wrote:
> I have no idea what's going on here, but this is broken and cannot possibly
> work because:
>
> 1) It's qdev name conflicts with a device that sits on SysBus
>
> 2) The PCI constructor expects a SysBus device... but's it's a PCIDevice
>
> If you do qdev_create("grackle"), the code expects to get the SysBus version
> so drop the mystery PCI version.
>
> Signed-off-by: Anthony Liguori <address@hidden>
> ---
> hw/grackle_pci.c | 17 -----------------
> 1 files changed, 0 insertions(+), 17 deletions(-)
NACK. Maybe the current code is not correct, but it actually works, and
a PCI host device like this one is definitely needed on the system.
Trying to apply this patch, qemu-system-ppc fails to start with:
qemu: hardware error: Unknown device 'grackle' for bus 'PCI'
--
Aurelien Jarno GPG: 1024D/F1BCDB73
address@hidden http://www.aurel32.net
- [Qemu-devel] [PATCH 24/30] spapr: convert to QEMU Object Model (v2), (continued)
- [Qemu-devel] [PATCH 24/30] spapr: convert to QEMU Object Model (v2), Anthony Liguori, 2012/01/02
- [Qemu-devel] [PATCH 23/30] scsi: convert to QEMU Object Model, Anthony Liguori, 2012/01/02
- [Qemu-devel] [PATCH 15/30] isa: convert to QEMU Object Model, Anthony Liguori, 2012/01/02
- [Qemu-devel] [PATCH 22/30] ide: convert to QEMU Object Model, Anthony Liguori, 2012/01/02
- [Qemu-devel] [PATCH 21/30] hda-codec: convert to QEMU Object Model, Anthony Liguori, 2012/01/02
- [Qemu-devel] [PATCH 30/30] virtio-s390: convert to QEMU Object Model, Anthony Liguori, 2012/01/02
- [Qemu-devel] [PATCH 27/30] unin_pci: remove phantom qdev devices in unin_pci, Anthony Liguori, 2012/01/02
- [Qemu-devel] [PATCH 17/30] ccid: convert to QEMU Object Model, Anthony Liguori, 2012/01/02
- [Qemu-devel] [PATCH 26/30] grackle: remove broken pci device, Anthony Liguori, 2012/01/02
- Re: [Qemu-devel] [PATCH 26/30] grackle: remove broken pci device,
Aurelien Jarno <=
- [Qemu-devel] [PATCH 12/30] qdev: add a interface to register subclasses, Anthony Liguori, 2012/01/02
- [Qemu-devel] [PATCH 20/30] i2c: smbus: convert to QEMU Object Model, Anthony Liguori, 2012/01/02
- [Qemu-devel] [PATCH 16/30] usb: convert to QEMU Object Model, Anthony Liguori, 2012/01/02
- [Qemu-devel] [PATCH 25/30] virtio-serial: convert to QEMU Object Model, Anthony Liguori, 2012/01/02
- [Qemu-devel] [PATCH 19/30] i2c: rename i2c_slave -> I2CSlave, Anthony Liguori, 2012/01/02
- [Qemu-devel] [PATCH 28/30] pci: convert to QEMU Object Model, Anthony Liguori, 2012/01/02
- [Qemu-devel] [PATCH 29/30] sysbus: convert to QEMU Object Model, Anthony Liguori, 2012/01/02