qtest/ahci: remove getter/setter macros
commit1a8bba4ddce44cff33bfd3d4976fb33923c06a1b
authorJohn Snow <jsnow@redhat.com>
Mon, 19 Jan 2015 20:16:01 +0000 (19 15:16 -0500)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 16 Feb 2015 14:40:55 +0000 (16 14:40 +0000)
treea7a928d64462ac3fc2aef213f8d118bb8d6be6f3
parent4882f359493cd02d7a5caa7b85d2e1bc4b2f8177
qtest/ahci: remove getter/setter macros

These macros were a bad idea: They relied upon certain arguments being
present locally with a specific name.

With the endgoal being to factor out AHCI helper functions outside of
the test file itself, these have to be replaced by more explicit helper
setter/getter functions.

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