Re: [PATCH] Support for in-kernel mmio handlers

Avi Kivity
2007-04-10T07:56:09Z

Gregory Haskins wrote:
> Hi Avi,
>
> I believe I have incorporated all of the changes requested. Please find the result of that patch inline.
>
> Note that I finally understand what you were getting at with the array of objects thing. I didn't change it yet for the same reason that you mentioned: reduction of churn. However, now that I understand it, I see why you wanted it. Perhaps I will send a follow-on to this patch that uses your idea. But for now...
>

I will try to be more explicit in the future.

> ---
>
> KVM: Add support for in-kernel mmio handlers
>
> There is a near-term need for moving some of the emulation from userspace to
> the kernel (e.g. interrupt handling). This patch adds a construct for
> registering in-kernel MMIO handlers. The consumers of this interface will
> appear in a follow-on patch.
>

Given that the first consumer is the local apic, it makes sense to add
the vcpu-local bus first, no?

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.