Tristan Gingold
2006-May-05 09:34 UTC
[Xen-ia64-devel] [PATCH]: fix IA64 transparent-virtualization bug
Hi, this small patch makes transparent-virtualization working again on IA64. Tristan. # HG changeset patch # User tristan.gingold@bull.net # Node ID d39cf12f595922d88eb00a882ff5e98cd557051e # Parent adb151aaf3f800e9a34b19aa94a93513a0a59e9f Fix IA64 transparent-virtualization issue (Xen may not be running). Signed-off-by: Tristan Gingold <tristan.gingold@bull.net> diff -r adb151aaf3f8 -r d39cf12f5959 linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c Thu Apr 27 02:55:42 2006 +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c Fri May 5 04:51:27 2006 @@ -1069,6 +1069,11 @@ { unsigned long timeout = jiffies + 10*HZ; + if (xen_init() < 0) { + DPRINTK("failed"); + return -ENODEV; + } + while (time_before(jiffies, timeout)) { if (all_devices_ready()) return 0; _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel