On Mon, Apr 07, 2008 at 05:25:54PM +0800, Dong, Eddie wrote:
> In current approach, we have cpu ops like eoi/set_tpr/get_tpr,/set_itm
> /set_kr0/set_kr2.../set_kr7 etc.
> I think there is another simple alternative is to simply export
> setreg/getreg 
> for cpu ops.
> 
> The benefit of this could be:
>       1: Simple in pv_ops I/F
>       2: hypervisor neutral. Today we only virtualize around 15 AR/CR
> read/write,
>       But future it may extends since different Hypervisor may do in
> different way.

Sounds reasonable.
Although it would result in big switch, presumably we can eliminate
runtime switch cost by specifically handling setreg/getreg which 
might complicate binay patch slightly.

-- 
yamahata

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel

Reply via email to