|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Re: [PATCH 2/9] xen: hook io_apic read/write operations
Yinghai Lu wrote: Jeremy Fitzhardinge wrote:In Xen, writes to the IO APIC are paravirtualized via hypercalls, so implement the appropriate operations. This version of the patch just hooks the io_apic read/write functions directly, rather than introducing another layer of indirection. The xen_initial_domain() tests compile to 0 if CONFIG_XEN_DOM0 isn't set, and are cheap if it is. (An alternative would be to add io_apic_ops, and point them to the Xen implementation as needed. HPA deemed this extra level of indirection to be excessive.)that will be more clean. That was my thought too.
How would that work? What would it return in the xen/non-xen states to indicate that the normal read operation should be performed? I don't think it would be any clearer. I think if there were an _ops structure, it should just go though it unconditionally. J _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |