Features/AHCI

From QEMU

Contents

Summary

On this page we're collecting the current state of the AHCI implementation for Qemu. Creating a fully functional version of AHCI for Qemu.

Note that since AHCI implementation has been integrated into qemu at version 0.14 (current version as of this writing is 1.0), this page is probably very out of date.

Owner

  • Name: Roland Elek
  • Email:

Status

Chong posted a patch on qemu-devel that contained a rough first draft of an AHCI implementation. We now need to make sure it's clean and fast enough to get upstream.

TODOs

  • Converting magic constants to defines
  • Make ide/core.c's command processing in ide_ioport_write common code between IDE and AHCI
  • Improve scatter gather list handling (reuse existing block layer's sg handling)
  • Convert to proper qdev device on PCI bus
  • Tagged Command Queuing
  • Message Signaled Interrupts
  • Make sure the code works on other OSs
  • Implement disk access code in SeaBIOS

Code

We're currently keeping the code in a separate git repo.