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

Avi Kivity
2007-04-05T13:45:22Z

Gregory Haskins wrote:
>> The pit/pic are pio devices, not mmio, so they need their own bus.
>>
>
> Yeah, I knew that but I haven't coded any support for anything but mmio yet. I explicitly chose the "kvm_io_XX" name instead of kvm_mmio_XXX in hopes that I can use the same structure for a pio_bus object in addition to the existing mmio_bus objects. Since I haven't really spent much time thinking about the pio side yet, im not sure if it will translate or require its own.
>

It should work. A minor nit is that gpa_t is a bit wide for pio, but
that does no real harm.

--
error compiling committee.c: too many arguments to function