Hi, Avi This series patches are to split kvm structuure. As current kvm_vcpu does, we also define common fields as a macro, although this approach is not so elegant. But the advantage is also explict, because we don't need to change current source code. Anyway, this is not the best method, maybe we can improve it later.
[1/6] Since it block kvm split, and it doesn't belong to common code, so move them out. Meanwhile, kvm_{get, has}_interrupts should moved to kvm.h [2/6] Since it is not called in kvm_main.c, and it also will block kvm structure split, so moved it out. [3/6] Using macro KVM_COMM to hold kvm common fields as kvm_vcpu does. And, every arch defines its kvm structure separately. [4/6] Since mmu structure is arch-specific, moving to x86.h [5/6] Moving kvm_vm_stat to x86.h, since it is x86-specific. [6/6] Moving macros wrt mmu to x86.h. Thanks Xiantao ------------------------------------------------------------------------- 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://sourceforge.net/services/buy/index.php _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel