WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] Enabling hypercalls from VT-i domain

Le Mercredi 02 Août 2006 14:23, Doi.Tsunehisa@xxxxxxxxxxxxxx a écrit :
> Hi Tristan,
>
>   Thank you for your comment.
>
> You (Tristan.Gingold) said:
> > Le Mercredi 02 Aot 2006 12:34, DOI Tsunehisa a crit :
[...]
> > You'd better to use the VMX_DOMAIN macro here.
>
>   I agree. I should use the VMX_DOMAIN macro except for '(regs->..
> IA64_PSR_VM)'. I'll modify it.
'current' gives you the current vcpu.

> > I think you'd better not to call ia64_hypercall from VTi side if cpl !=
> > 0.
>
>   I worry about this point. The ia64_hypercall is called from
> ia64_handle_break without cpl != 2 checking, thus it's checked a privilege
> level of the caller for para-domain, I think. I believe that the both codes
> should be symmetrical.
>
>   What do you think about this point ?
Ok.

Tristan.


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