ia64/xen-unstable

changeset 10201:e3d2411fb486

[IA64] VTI: set isr before injecting fault to guest

This patch intends to fix isr setting before injecting fault to it.
With this small fix, CPU2000 in VTi can pass now.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Zhang xiantao <xiantao.zhang@intel.com>
author awilliam@xenbuild.aw
date Wed May 31 11:27:54 2006 -0600 (2006-05-31)
parents 7ae164a41569
children 380f87e8003f
files xen/arch/ia64/vmx/vmx_process.c
line diff
     1.1 --- a/xen/arch/ia64/vmx/vmx_process.c	Wed May 31 11:27:50 2006 -0600
     1.2 +++ b/xen/arch/ia64/vmx/vmx_process.c	Wed May 31 11:27:54 2006 -0600
     1.3 @@ -338,6 +338,7 @@ vmx_hpw_miss(u64 vadr , u64 vec, REGS* r
     1.4                  gppa = (vadr&((1UL<<data->ps)-1))+(data->ppn>>(data->ps-12)<<data->ps);
     1.5                  emulate_io_inst(v, gppa, data->ma);
     1.6              }else{
     1.7 +                vcpu_set_isr(v,misr.val);
     1.8                  data_access_rights(v, vadr);
     1.9              }
    1.10              return IA64_FAULT;