kvm: Simplify kvm_handle_io
commit354678c5ce162649906e4e1be2859f3df372668f
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 13 Aug 2013 12:43:57 +0000 (13 14:43 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 20 Aug 2013 16:37:17 +0000 (20 18:37 +0200)
tree312a725f005b45ff380faa3a3409d121e133ed79
parentdf67696e97d3edd0cb1683bf2eb3b3236bd9a5ed
kvm: Simplify kvm_handle_io

Now that cpu_in/out is just a wrapper around address_space_rw, we can
also call the latter directly. As host endianness == guest endianness,
there is no need for the memory access helpers st*_p/ld*_p as well.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
kvm-all.c