[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID e3d2411fb4868c95e1af593bfbd776bad6e8cfe2
# Parent  7ae164a41569e747932180f5c63c4512d6dce8d4
[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@xxxxxxxxx>
Signed-off-by: Zhang xiantao <xiantao.zhang@xxxxxxxxx>
---
 xen/arch/ia64/vmx/vmx_process.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 7ae164a41569 -r e3d2411fb486 xen/arch/ia64/vmx/vmx_process.c
--- a/xen/arch/ia64/vmx/vmx_process.c   Wed May 31 11:27:50 2006 -0600
+++ b/xen/arch/ia64/vmx/vmx_process.c   Wed May 31 11:27:54 2006 -0600
@@ -338,6 +338,7 @@ vmx_hpw_miss(u64 vadr , u64 vec, REGS* r
                 gppa = 
(vadr&((1UL<<data->ps)-1))+(data->ppn>>(data->ps-12)<<data->ps);
                 emulate_io_inst(v, gppa, data->ma);
             }else{
+                vcpu_set_isr(v,misr.val);
                 data_access_rights(v, vadr);
             }
             return IA64_FAULT;

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.