Skip to content

Commit

Permalink
ahci: Add test_hba_spec to ahci-test.
Browse files Browse the repository at this point in the history
Add a test routine that checks the boot-up values of the HBA
configuration memory space against the AHCI 1.3 specification
and Intel ICH9 data sheet (for Q35 machines) for adherence and
sane values.

The HBA is not yet engaged or put into the idle state.

[Replaced g_assert_false(...) with g_assert(!...) for glib <2.38
compatibility, reported by Peter Maydell <peter.maydell@linaro.org>.
--Stefan]

Signed-off-by: John Snow <jsnow@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1408643079-30675-7-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
  • Loading branch information
jnsnow authored and stefanhaRH committed Sep 22, 2014
1 parent fac7aa7 commit c2f3029
Showing 1 changed file with 560 additions and 1 deletion.

0 comments on commit c2f3029

Please sign in to comment.