qtest/ahci: finalize AHCIQState consolidation
commit8d5eeceddcb6464c7db3b4504c14766453db091e
authorJohn Snow <jsnow@redhat.com>
Mon, 19 Jan 2015 20:15:57 +0000 (19 15:15 -0500)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 16 Feb 2015 14:40:55 +0000 (16 14:40 +0000)
tree6afd3fecd5d975dfd98b67f59caae65f3f9be1e6
parent6100ddb0f9776555b581455be4707f2077eee42f
qtest/ahci: finalize AHCIQState consolidation

Move barsize, ahci_fingerprint and capabilities registers into
the AHCIQState object, removing global ahci-related state
from the ahci-test.c file.

More churn, less globals.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1421698563-6977-10-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/ahci-test.c
tests/libqos/ahci.h