Re: [PATCH] kvm: remove in_range from kvm_io_device

Michael S. Tsirkin
2009-06-24T08:49:38Z

On Tue, Jun 23, 2009 at 09:43:31PM -0400, Gregory Haskins wrote:
> Michael S. Tsirkin wrote:
> > Remove in_range from kvm_io_device and ask read/write callbacks, if
> > supplied, to perform 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. And it's enough to
> > look at the diffstat to see that it's a better API anyway.
> >
> > While we are at it, document locking rules for kvm_io_device.
> >
>
> Hi Michael,
>
> I just tried to apply this to kvm.git/master, and it blew up really
> badly. What tree should I be using?

Ugh, this is against 2.6.30. I'll post kvm.git version soon.