Hi. This is just the X2apic code and changes to the VM without the IOMMU code. I've tested on my local machine as well as lpbb9. I am able to ping lpbb9(Akaros) from lpbb6(linux) with the X2APIC turned on.
I created a new thread because I split the code into two parts, so I thought this would be neater. This is on my branch x2apic-vmm. The following changes since commit a96180a800e667166e3ba3405ddaddf7c87fcda8: Turn off TSD in slave processors. (2016-02-24 14:08:13 -0500) are available in the git repository at: [email protected]:GanShun/akaros.git b4ae0e223c0b6c96511e06dc283e6a58b65a3244 for you to fetch changes up to b4ae0e223c0b6c96511e06dc283e6a58b65a3244: Virtualization changes to handle X2APIC mode. (2016-02-25 15:36:33 -0800) ---------------------------------------------------------------- GanShun (3): Removed lapic_set_id and lapic_set_logid functions Enabling X2APIC Virtualization changes to handle X2APIC mode. kern/arch/x86/apic.c | 38 ++++++------ kern/arch/x86/apic.h | 110 +++++++++++------------------------ kern/arch/x86/apic9.c | 255 ++++++++++++++++++++++++++++++++++++++++++++++---------------------------------- kern/arch/x86/perfmon.c | 2 +- kern/arch/x86/pmap64.c | 5 +- kern/arch/x86/ros/mmu64.h | 13 ++--- kern/arch/x86/ros/msr-index.h | 61 +++++++++++++++++++ kern/arch/x86/smp.c | 1 - kern/arch/x86/smp_boot.c | 2 - kern/arch/x86/time.c | 16 ++--- kern/arch/x86/trapentry64.S | 11 +++- kern/arch/x86/vmm/intel/vmx.c | 10 +++- kern/arch/x86/vmm/intel/vmx.h | 5 ++ kern/arch/x86/vmm/vmm.c | 14 +++++ kern/src/ktest/pb_ktests.c | 1 - tests/vmm/vmrunkernel.c | 42 +++++++++----- 16 files changed, 342 insertions(+), 244 deletions(-) -- You received this message because you are subscribed to the Google Groups "Akaros" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
