]> git.proxmox.com Git - mirror_qemu.git/commit - tests/ide-test.c
tests: Clean up IO handling in ide-test
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 20 Oct 2016 23:46:37 +0000 (10:46 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 27 Oct 2016 22:38:27 +0000 (09:38 +1100)
commit9c268f8ae84ae18679ba2c3b16394e1828e9a006
tree2c1fc8f4a62b4ac839749c4cf3591f5c58561d2d
parent352d664cce514a94228fbf6e05d03920b2d6bd69
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>
tests/ide-test.c