Skip to contentSkip to conversation

: fix IA64 transparent-virtualization bug

PATCH New Tristan Gingold 1 participant 1 message May 5, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : fix IA64 transparent-virtualization bug

Hi,

this small patch makes transparent-virtualization working again on IA64.

Tristan.

# HG changeset patch
# User [email protected]
# Node ID d39cf12f595922d88eb00a882ff5e98cd557051e
# Parent adb151aaf3f800e9a34b19aa94a93513a0a59e9f
Fix IA64 transparent-virtualization issue (Xen may not be running).

linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c +5 -0
diff -r adb151aaf3f8 -r d39cf12f5959 linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c
@@ -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;

# HG changeset patch
# User [email protected]
# Node ID d39cf12f595922d88eb00a882ff5e98cd557051e
# Parent adb151aaf3f800e9a34b19aa94a93513a0a59e9f
Fix IA64 transparent-virtualization issue (Xen may not be running).

linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c +5 -0
diff -r adb151aaf3f8 -r d39cf12f5959 linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c
@@ -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
[email protected]
http://lists.xensource.com/xen-ia64-devel