8 messages in com.xensource.lists.xen-ia64-devel[Xen-ia64-devel] vcpu context merge| From | Sent On | Attachments |
|---|---|---|
| Dong, Eddie | 18 May 2005 00:29 | |
| Magenheimer, Dan (HP Labs Fort Collins) | 19 May 2005 09:11 | |
| Dong, Eddie | 20 May 2005 02:51 | |
| Magenheimer, Dan (HP Labs Fort Collins) | 20 May 2005 11:08 | |
| Dong, Eddie | 22 May 2005 20:27 | |
| Magenheimer, Dan (HP Labs Fort Collins) | 25 May 2005 09:43 | |
| Dong, Eddie | 25 May 2005 16:07 | |
| Dong, Eddie | 25 May 2005 19:41 |
| Subject: | [Xen-ia64-devel] vcpu context merge![]() |
|---|---|
| From: | Dong, Eddie (eddi...@intel.com) |
| Date: | 05/18/2005 12:29:08 AM |
| List: | com.xensource.lists.xen-ia64-devel |
Dan: For the VCPU context merge, basically the context needs to be shared to XENO OS should be put in vcpu_info_t.arch_vcpu_info_t otherwise we can keep it in exec_domain.arch_exec_domain. From the structure of arch_vcpu_info_t, it includes following parts: 1: parts of guest CR registers. 2: Bank registers (need NAT bits in future) 3: RR/KR/PKR 4: guest TLB 5: time related variables. 6: lsapic insvc[] 7: Some paravirtualization specific variables.
When thinking to merge arch_vmx_struct with arch_vcpu_info_t, #3 is same for both, #4 is different now but we can put both togther now and wait next level of merge. same for #5 & #6. #7 is XENO only so no merge issue. The key issue is #1 & #2 that is called vpd (virtual processor descriptor) in VTI. VPD include guest CR, vpsr, vpr, bank registers, NAT bits and other regsiters. It needs to be 32K aligned requested by VTI architecture so we use a pointer in arch_exec_domain.arch_vmx_struct. I know it is a little bit difficult for you to access VCR through pointer in XENOLinux. If we can adopt the pointer of vpd in arch_vcpu_info_t, we can put machine address of vpd there to let XENOLinux remap it. Another va point in arch_exec_domain can still exist for HV to access. Any suggestions? Eddie
_______________________________________________ Xen-ia64-devel mailing list Xen-...@lists.xensource.com http://lists.xensource.com/xen-ia64-devel




