summaryrefslogtreecommitdiffstats
path: root/scripts/modules
diff options
context:
space:
mode:
authorDavid Gibson2016-10-18 07:18:45 +0200
committerDavid Gibson2016-10-28 00:38:27 +0200
commit204e54b86d123d091f0b2d14541c491ece7b864f (patch)
treef969df3316bc20d5619404995ae652a3b2710051 /scripts/modules
parentlibqos: Add 64-bit PCI IO accessors (diff)
downloadqemu-204e54b86d123d091f0b2d14541c491ece7b864f.tar.gz
qemu-204e54b86d123d091f0b2d14541c491ece7b864f.tar.xz
qemu-204e54b86d123d091f0b2d14541c491ece7b864f.zip
tests: Use qpci_mem{read,write} in ivshmem-test
ivshmem implements a block of shared memory in a PCI BAR. Currently our test case accesses this using qtest_mem{read,write}. However, deducing the correct addresses for these requires making assumptions about the internel format returned by qpci_iomap(), along with some ugly casts. This patch changes the test to use the new qpci_mem{read,write} interfaces which is neater. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'scripts/modules')
0 files changed, 0 insertions, 0 deletions