Re: [kvm-devel] [PATCH][RFC] Struct kvm split

2007-11-20 Thread Avi Kivity
Hollis Blanchard wrote: > I was very confused until I realized you're only dealing with struct > kvm, not struct kvm_vcpu. I actually started the kvm_vcpu work last > week, and it is a much larger patch. :) > It can be probably done in parts with members moved off to x86-land incrementally.

Re: [kvm-devel] [PATCH][RFC] Struct kvm split

2007-11-19 Thread Zhang, Xiantao
Hollis Blanchard wrote: > On Mon, 2007-11-19 at 18:05 +0800, Zhang, Xiantao wrote: >> Hi Avi, >> 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

Re: [kvm-devel] [PATCH][RFC] Struct kvm split

2007-11-19 Thread Hollis Blanchard
On Mon, 2007-11-19 at 18:05 +0800, Zhang, Xiantao wrote: > Hi Avi, > 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 stru

Re: [kvm-devel] [PATCH][RFC] Struct kvm split

2007-11-19 Thread Zhang, Xiantao
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

Re: [kvm-devel] [PATCH][RFC] Struct kvm split

2007-11-19 Thread Avi Kivity
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 >>>

Re: [kvm-devel] [PATCH][RFC] Struct kvm split

2007-11-19 Thread Zhang, Xiantao
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

Re: [kvm-devel] [PATCH][RFC] Struct kvm split

2007-11-19 Thread Carsten Otte
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-devel] [PATCH][RFC] Struct kvm split

2007-11-19 Thread Zhang, Xiantao
Hi Avi, 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 kv