This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [IA64] Fix VTi domain destroy bug, Xen patchbot-unstable <=