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

[Xen-changelog] [IA64] Fix VTi domain destroy bug



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 998aa66b650282cca9ffb8df531d7a181568d77f
# Parent  99f880fea7e1c0a8de8205897d635c4a80776696
[IA64] Fix VTi domain destroy bug

This patch will fix VTi domain destroy bug. On tip, we couldn't
destroy VTi successfully at times. It was caused by misusing
vhpt base address for VTi domain in vhpt_flush function.

Signed-off-by : Zhang xiantao <xiantao.zhang@xxxxxxxxx>
---
 xen/arch/ia64/xen/vhpt.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 99f880fea7e1 -r 998aa66b6502 xen/arch/ia64/xen/vhpt.c
--- a/xen/arch/ia64/xen/vhpt.c  Tue May 16 12:54:26 2006 -0600
+++ b/xen/arch/ia64/xen/vhpt.c  Wed May 17 15:52:10 2006 -0600
@@ -25,7 +25,7 @@ DEFINE_PER_CPU (unsigned long, vhpt_pend
 
 static void vhpt_flush(void)
 {
-       struct vhpt_lf_entry *v = (struct vhpt_lf_entry *)VHPT_ADDR;
+       struct vhpt_lf_entry *v = __va(__ia64_per_cpu_var(vhpt_paddr));
        int i;
 
        for (i = 0; i < VHPT_NUM_ENTRIES; i++, v++)

_______________________________________________
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®.