These patches allow us to stop unconditionally including x86 headers, which allows us to provide alternative definitions. The first two just split things out to avoid circular header dependencies.
In fact, with just a couple additional hacks, I was finally able to get a stub PowerPC implementation building. 7 files changed, 127 insertions(+), 70 deletions(-) drivers/kvm/i8259.c | 1 drivers/kvm/iodev.h | 63 ++++++++++++++++++++++++++++++++++++++++++ drivers/kvm/irq.h | 8 ++++- drivers/kvm/kvm.h | 72 ++++-------------------------------------------- drivers/kvm/kvm_main.c | 4 -- drivers/kvm/types.h | 41 +++++++++++++++++++++++++++ drivers/kvm/x86.h | 8 +++++ ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel