Zachary Amsden wrote:
> Of course we can create a bunch of new code to use the genapic
> interface.  It is just a matter of copying apic.c and io-apic.c
> verbatim and applying the sed command s/apic/vmi_apic/g. 

Wouldn't it be cleaner to just change apic.c and io-apic.c to use, say,
apic_ops to get access to the actual hardware, and then you could have
native and vmi versions while sharing the bulk of the code.  Isn't that
what genapic is intended to solve anyway?

    J
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/virtualization

Reply via email to