Zhang, Xiantao wrote: > Based on privious discussion, I made this patch to split struct kvm. > In this patch, strcut kvm only holds common fields, and struct kvm_x86 > will keep x86-specific fields. In this way, struct kvm will be a > sub-filed in struct kvm_x86, and we can use to_kvm_x86 to get kvm_x86 > from struct kvm. It is very similar with current to_vmx approach for > getting struct vmx from struct kvm_vcpu. This is a rough split based > on this idea. Any comments are welcome! Patch #2 does'nt apply for me, on top of #1 on today's kvm.git: [EMAIL PROTECTED]:~/kvm$ quilt push Wende Patch 0002-Move-strcut-kvm_x86_ops-defintion-to-x86.h.patch an (Stripping trailing CRs from patch.) patching file drivers/kvm/kvm.h (Stripping trailing CRs from patch.) patching file drivers/kvm/x86.h patch: **** malformed patch at line 169: int kvm_mmu_page_fault(struct kvm_vcpu *vcpu, gva_t gva, u32 error_code);
Patch 0002-Move-strcut-kvm_x86_ops-defintion-to-x86.h.patch lässt sich nicht anwenden (erzwingen mit -f) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel