KVM: remove in_range from io devices
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 29 Jun 2009 19:24:32 +0000 (22:24 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:05 +0000 (08:33 +0300)
This changes bus accesses to use high-level kvm_io_bus_read/kvm_io_bus_write
functions. in_range now becomes unused so it is removed from device ops in
favor of read/write callbacks performing range checks internally.

This allows aliasing (mostly for in-kernel virtio), as well as better error
handling by making it possible to pass errors up to userspace.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found