qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 12/13] config: add generic pci config file


From: Alexander Graf
Subject: [Qemu-devel] Re: [PATCH 12/13] config: add generic pci config file
Date: Sat, 27 Nov 2010 01:49:08 +0100

On 27.11.2010, at 01:16, Paul Brook wrote:

>> Currently we list PCI devices in every PCI capable architecture
>> individually. This is cumbersome when adding new devices and prone to
>> failure because one might miss out on one.
>> 
>> So let's instead have a generic PCI configuration file where people can
>> throw in their cross-platform compatible PCI devices and thus make it
>> available to ever architecture that supports PCI too.
> 
> I'm pretty sure this will overwrite user-edited $target/pci-devices.mak every 
> time default-configs/pci-devices.mak is modified.  It also requires that the 
> makefile be modified every time a new include file is added.
> 
> I've comitted a solution that fixes these issues.

I updated the git tree to reflect this. I ripped out the whole pci makefile 
stuff and moved the CONFIG_AHCI=y to pci.mak. The actual ahci emulation is 
still the same.


It contains the following patches now:

Alexander Graf (10):
      ide: split ide command interpretation off
      ide: fix whitespace gap in ide_exec_cmd
      ide: add DMA hooks to bus ops
      pci: add storage class for sata
      pci: add ich7 pci id
      ahci: add ahci emulation
      ahci: add -drive support
      ahci: spawn controller on demand
      ide: move pata specific parts to pata.c
      config: add ahci for pci capable machines

Roland Elek (2):
      ide: add support for ide bus ops
      ide: add ncq identify data for ahci sata drives

 Makefile.objs           |    3 +-
 blockdev.c              |   41 ++-
 blockdev.h              |    2 +
 default-configs/pci.mak |    1 +
 hw/ide/ahci.c           | 1380 +++++++++++++++++++++++++++++++++++++++++++++++
 hw/ide/core.c           |  874 ++++++++++++++-----------------
 hw/ide/internal.h       |   37 +-
 hw/ide/pata.c           |  178 ++++++
 hw/pci.h                |    1 +
 hw/pci_ids.h            |    1 +
 qemu-common.h           |    2 +-
 vl.c                    |    2 +
 12 files changed, 2031 insertions(+), 491 deletions(-)
 create mode 100644 hw/ide/ahci.c
 create mode 100644 hw/ide/pata.c




reply via email to

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