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

[Xen-changelog] PAL cache flush (added during VTI merge) breaks on simulator



# HG changeset patch
# User djm@xxxxxxxxxxxxxxx
# Node ID b52a4864477057a43ab9bc4c82538650f8256880
# Parent  2556621a7759428504e27d854772d4dd4f061ded
PAL cache flush (added during VTI merge) breaks on simulator

diff -r 2556621a7759 -r b52a48644770 xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Fri Sep 16 22:51:55 2005
+++ b/xen/arch/ia64/xen/domain.c        Fri Sep 16 22:53:30 2005
@@ -951,10 +951,12 @@
        //    memcpy((void *)vinitrd_start, initrd_start, initrd_len);
 
        /* Sync d/i cache conservatively */
-       ret = ia64_pal_cache_flush(4, 0, &progress, NULL);
-       if (ret != PAL_STATUS_SUCCESS)
-           panic("PAL CACHE FLUSH failed for dom0.\n");
-       printk("Sync i/d cache for dom0 image SUCC\n");
+       if (!running_on_sim) {
+           ret = ia64_pal_cache_flush(4, 0, &progress, NULL);
+           if (ret != PAL_STATUS_SUCCESS)
+               panic("PAL CACHE FLUSH failed for dom0.\n");
+           printk("Sync i/d cache for dom0 image SUCC\n");
+       }
 
        /* Set up start info area. */
        si = (start_info_t *)alloc_xenheap_page();

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