libqos/ahci: Add ahci_guest_io
commit113221956cb819837dda5350e3f9d52819183805
authorJohn Snow <jsnow@redhat.com>
Thu, 5 Feb 2015 17:41:26 +0000 (5 12:41 -0500)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 16 Feb 2015 15:07:17 +0000 (16 15:07 +0000)
tree72285cd6c09554ba9a84e5d43b40db36bc619aa5
parentcbc97569dcce317f7bb32d766d4dfcbeb7fd3013
libqos/ahci: Add ahci_guest_io

ahci_guest_io is a shorthand function that will, in one shot,
execute a data command on the guest to the specified guest buffer
location, in the requested amount.

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