|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-changelog
[Xen-changelog] [xen-unstable] [IA64] enabling hypercalls from VT-i	doma
 
# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 4151d83d0db9e6de89a943d0c083c6bf339315bf
# Parent  b94d43606bcd7328d86d92194b8b24b332e5f0bf
[IA64] enabling hypercalls from VT-i domain
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@xxxxxxxxxxxxxx>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@xxxxxxxxxxxxxx>
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/hypercall.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
diff -r b94d43606bcd -r 4151d83d0db9 xen/arch/ia64/xen/hypercall.c
--- a/xen/arch/ia64/xen/hypercall.c     Thu Aug 03 10:38:04 2006 -0600
+++ b/xen/arch/ia64/xen/hypercall.c     Thu Aug 03 10:44:23 2006 -0600
@@ -319,7 +319,7 @@ ia64_hypercall (struct pt_regs *regs)
 
        /* Hypercalls are only allowed by kernel.
           Kernel checks memory accesses.  */
-       if (privlvl != 2) {
+       if (VMX_DOMAIN(v) ? (privlvl != 0) : (privlvl != 2)) {
            /* FIXME: Return a better error value ?
               Reflection ? Illegal operation ?  */
            regs->r8 = -1;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-changelog] [xen-unstable] [IA64] enabling hypercalls from VT-i	domain,
Xen patchbot-unstable <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |