Avi Kivity wrote: > Zhang, Xiantao wrote: >> Carsten Otte wrote: >> >>> 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) >>> >> >> Hi, Carsten >> The first 5 patches have been checked into upstream tree. Maybe >> you can have a pull. For the sixth one, it can be applied on the >> latest commits. Xiantao >> > > They only applied after much massaging by me (I forgot to complain, > sorry). > > Please use git-send-email, it's much better at getting the patches out > undamaged.
OK, I will try to use git-send-email for patch out next time, although seems it also have something wrong at my side. :) Xiantao ------------------------------------------------------------------------- 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