Re: [PATCH] kvm: remove in_range from kvm_io_device

From: Michael S. Tsirkin
Date: Wed Jun 24 2009 - 04:49:42 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/