summaryrefslogtreecommitdiffstats
path: root/kvm-all.c
diff options
context:
space:
mode:
authorPeter Maydell2015-04-26 17:49:24 +0200
committerPeter Maydell2015-04-26 17:49:24 +0200
commit5c9eb0286c819c1836220a32f2e1a7b5004ac79a (patch)
tree2edd15dfc1b1a4c6b6b954559f273d4212e1ca26 /kvm-all.c
parentexec.c: Convert subpage memory ops to _with_attrs (diff)
downloadqemu-5c9eb0286c819c1836220a32f2e1a7b5004ac79a.tar.gz
qemu-5c9eb0286c819c1836220a32f2e1a7b5004ac79a.tar.xz
qemu-5c9eb0286c819c1836220a32f2e1a7b5004ac79a.zip
exec.c: Make address_space_rw take transaction attributes
Make address_space_rw take transaction attributes, rather than always using the 'unspecified' attributes. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'kvm-all.c')
-rw-r--r--kvm-all.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kvm-all.c b/kvm-all.c
index dd44f8c753..4ec153df93 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -1667,7 +1667,8 @@ static void kvm_handle_io(uint16_t port, void *data, int direction, int size,
uint8_t *ptr = data;
for (i = 0; i < count; i++) {
- address_space_rw(&address_space_io, port, ptr, size,
+ address_space_rw(&address_space_io, port, MEMTXATTRS_UNSPECIFIED,
+ ptr, size,
direction == KVM_EXIT_IO_OUT);
ptr += size;
}