Hi, Avi
As you know, we have to change to kvm_vcpu_arch concept since meet
various issues about #includes. 
This patches enables it. I also prepared a series of patches to split
kvm with similar idea. 
Now, kvm.h includes x86.h by default. X86.c needs includes kvm.h, and
vmx.c and svm.c only needs to include x86.h

One mmu.h is created to solve inter-dependent issues.

With these two seires of pacthes, a clear arch-independent pictures
described! :)

Tested on x86_32 boot up, and x86_64 build.

[1/22] kvm portability. Add kvm_vcpu_arch support
[2/22] kvm: Portability : Moving irq-related fields to arch.
[3/22] kvm portability, moving general registers to arch.
[4/22] kvm portability: Moving shadow_efer and pdptrs to archs.
[5/22] kvm portability: Moving apic and apic_base to kvm_vcpu arch.
[6/22] kvm portability: Moving mp_state, and sipi_vector to
kvm_vcpu_arch
[7/22] kvm portability: Moving mmu-related fields to arch.
[8/22] kvm : portability : moving pt fileds to arch.
[9/22] kvm: portability: Moving {host, guest}_fx_image fields to arch
[10/22] Moving pio_data, pio, mmio_fault_cr2 to arch.
[11/22]   kvm: portability: Moving rmode, exceptions, halt_request to
arch
[12/22] kvm: portabiltiy: Moving cpuid_entries to arch
[13/22] kvm: portability: Moving emulate_ctxt to kvm_vcpu_arch.
[14/22] kvm: portability: Splitting mmu-related static functions to
mmu.h
[15/22] kvm: portability: Moving kvm_vcpu defintions back to kvm.h
[16/22] kvm: portability: Expand the KVM_VCPU_COMM in kvm_vcpu
structure.
[17/22] kvm: portability : Moving kvm_vcpu_stat to x86.h
[18/22] kvm: portability: moving naliases and aliases to kvm_arch.
[19//22] kvm: portability: Moving mmu-related fields to kvm_arch.
[20/22] kvm: portability: moving vpic and vioapic to kvm_arch
[21/22] kvm: portability: moving round_robin_prev_vcpu and tss_addr to
kvm_arch
[22/22] kvm: portability : moving kvm_vm_stat to x86.h

Thanks 
Xiantao

Attachment: 0022-kvm-portability-moving-kvm_vm_stat-to-x86.h.patch
Description: 0022-kvm-portability-moving-kvm_vm_stat-to-x86.h.patch

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to