As reported by Hannes Reinecke, the signature generation in AHCI is a little goofy. Let's fix it up.
Patch 1 should be considered a bugfix for 2.4. Patch 2 is mostly a tidying effort prompted by the first patch. ________________________________________________________________________________ For convenience, this branch is available at: https://github.com/jnsnow/qemu.git branch ahci-sig https://github.com/jnsnow/qemu/tree/ahci-sig This version is tagged ahci-sig-v1: https://github.com/jnsnow/qemu/releases/tag/ahci-sig-v1 Hannes Reinecke (1): ahci: Fix CD-ROM signature John Snow (1): ahci: fix signature generation hw/ide/ahci.c | 33 ++++++++++++++++++++------------- hw/ide/ahci.h | 2 +- 2 files changed, 21 insertions(+), 14 deletions(-) -- 2.1.0