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

[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@xxxxxxxx
# Node ID d39cf12f595922d88eb00a882ff5e98cd557051e
# Parent  adb151aaf3f800e9a34b19aa94a93513a0a59e9f
Fix IA64 transparent-virtualization issue (Xen may not be running).

Signed-off-by: Tristan Gingold <tristan.gingold@xxxxxxxx>

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;

Attachment: xen-transvirt.diff
Description: Text Data

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

 


Rackspace

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