[Qemu-devel] [PATCH 08/11] ahci: add ahci emulation

2010-12-13 Thread Alexander Graf
This patch adds an emulation layer for an ICH-9 AHCI controller. For now this controller does not do IDE legacy emulation. It is a pure AHCI controller. Signed-off-by: Alexander Graf --- v1 -> v2: - rename IDEExtender to IDEBusOps and make a pointer (kraxel) - make dma hooks explicit by pu

Re: [Qemu-devel] [PATCH 08/11] ahci: add ahci emulation

2010-11-25 Thread Isaku Yamahata
On Thu, Nov 25, 2010 at 08:07:39AM +0100, Alexander Graf wrote: > +static int pci_ahci_init(PCIDevice *dev) > +{ > +struct AHCIPCIState *d; > +d = DO_UPCAST(struct AHCIPCIState, card, dev); > + > +pci_config_set_vendor_id(d->card.config, PCI_VENDOR_ID_INTEL); > +pci_config_set_devic

[Qemu-devel] [PATCH 08/11] ahci: add ahci emulation

2010-11-25 Thread Alexander Graf
This patch adds an emulation layer for an ICH-7M AHCI controller. For now this controller does not do IDE legacy emulation. It is a pure AHCI controller. Signed-off-by: Alexander Graf --- v1 -> v2: - rename IDEExtender to IDEBusOps and make a pointer (kraxel) - make dma hooks explicit by p

Re: [Qemu-devel] [PATCH 08/11] ahci: add ahci emulation

2010-11-23 Thread Blue Swirl
On Tue, Nov 23, 2010 at 1:48 PM, Alexander Graf wrote: > > On 21.11.2010, at 13:54, Blue Swirl wrote: > >> On Fri, Nov 19, 2010 at 2:56 AM, Alexander Graf wrote: >>> >>> +typedef struct AHCIControlRegs { >>> +    uint32_t    cap; >>> +    uint32_t    ghc; >>> +    uint32_t    irqstatus; >>> +    

Re: [Qemu-devel] [PATCH 08/11] ahci: add ahci emulation

2010-11-23 Thread Alexander Graf
On 21.11.2010, at 13:54, Blue Swirl wrote: > On Fri, Nov 19, 2010 at 2:56 AM, Alexander Graf wrote: >> >> +typedef struct AHCIControlRegs { >> +uint32_tcap; >> +uint32_tghc; >> +uint32_tirqstatus; >> +uint32_timpl; >> +uint32_tversion; >> +} __attribute__

[Qemu-devel] [PATCH 08/11] ahci: add ahci emulation

2010-11-18 Thread Alexander Graf
This patch adds an emulation layer for an ICH-7M AHCI controller. For now this controller does not do IDE legacy emulation. It is a pure AHCI controller. Signed-off-by: Alexander Graf --- v1 -> v2: - rename IDEExtender to IDEBusOps and make a pointer (kraxel) - make dma hooks explicit by p