debuggers.hg
changeset 11063:4151d83d0db9
[IA64] enabling hypercalls from VT-i domain
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author | awilliam@xenbuild.aw |
---|---|
date | Thu Aug 03 10:44:23 2006 -0600 (2006-08-03) |
parents | b94d43606bcd |
children | 47a5dfd1bcd6 |
files | xen/arch/ia64/xen/hypercall.c |
line diff
1.1 --- a/xen/arch/ia64/xen/hypercall.c Thu Aug 03 10:38:04 2006 -0600 1.2 +++ b/xen/arch/ia64/xen/hypercall.c Thu Aug 03 10:44:23 2006 -0600 1.3 @@ -319,7 +319,7 @@ ia64_hypercall (struct pt_regs *regs) 1.4 1.5 /* Hypercalls are only allowed by kernel. 1.6 Kernel checks memory accesses. */ 1.7 - if (privlvl != 2) { 1.8 + if (VMX_DOMAIN(v) ? (privlvl != 0) : (privlvl != 2)) { 1.9 /* FIXME: Return a better error value ? 1.10 Reflection ? Illegal operation ? */ 1.11 regs->r8 = -1;