[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-devel] [Patch] Add hardware CR8 acceleration for TPRaccessing
Thanks for your advice. I will re-organize the patch. Thanks -- Dexuan -----Original Message----- From: Li, Xin B Sent: 2006年10月24日 18:08 To: Petersson, Mats; Cui, Dexuan; Betak, Travis Cc: xen-devel@xxxxxxxxxxxxxxxxxxx Subject: RE: [Xen-devel] [Patch] Add hardware CR8 acceleration for TPRaccessing >> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx >> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of >> Cui, Dexuan >> Sent: 24 October 2006 10:35 >> To: Betak, Travis >> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx >> Subject: RE: [Xen-devel] [Patch] Add hardware CR8 >> acceleration for TPR accessing >> >> Hi, Travis, >> Is there anything in SVM similar to TPP-threshold in VMX? >> If no, I really need to find a better place for the >> vlapic_update_tpr_threshold(). > >I don't think that's the question/statement: any code in hvm >directory should be guaranteed to be callable by both Intel >and AMD code. The code you've just added makes direct use of >the vmwrite instruction, which there isn't a corresponding >instruction for in AMD processors. Sure, it's a guideline. > >[Whether it makes sense to call it for an AMD processor is a >completely different question - it's the principle that the >code in the hvm directory should be "architecture independent"]. > >You may need to implement another function-pointer in the hvm >structure to be able to do this... I think the point here is, how much we can share the common code, if we can get more common idea on this topic between VMX and SVM, the code could be cleaner :-) -Xin _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |