>On Tue, 2007-06-26 at 11:02 +0800, Dong, Eddie wrote: >> Greg/Dor: >> When thinking to merge APIC device model with PIC, a curious >> question: Where does the code base come from? Xen or Qemu? I found there >> are many diff from Xen (even excluding name difference). >> Eddie > >I am fairly certain it originated in Xen (which might have originated in >Qemu??) but there have been many many changes since then. I know Dor at >least did all the porting to Linux (including the hrtimer work). I then >ported it to the irqdevice model and reworked a good amount of the code. >Between the two I am sure you will see lots of diffs from the original >Xen code. > >-Greg
As Greg mentioned, the base code (lapic.c) is Xen based. I also stated it clearly in file header. Regarding merging it with mainline, if the AMD problems are over (as I think they are) we can do it. There is one point regarding migration, currently the apic state is not saved, it should be fixed. The irqdev state should be also serialized. Avi should say his final word and he is lecturing in the OLS convention. Oh, I just discovered old code of mine that handles apic save/restore. I'm attaching the patch, its old and won't apply on the current sources but it worked in the old days... Btw, you guys are doing fantastic, important job. Kudos ;)
apic_save_restore_and_install.patch
Description: apic_save_restore_and_install.patch
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel