tests: Clean up IO handling in ide-test

ide-test uses many explicit inb() / outb() operations for its IO, which
means it's not portable to non-x86 platforms.  This cleans it up to use
the libqos PCI accessors instead.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
This commit is contained in:
David Gibson
2016-10-28 09:38:27 +11:00
parent 352d664cce
commit 9c268f8ae8
+118 -61
View File
File diff suppressed because it is too large Load Diff