[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix IA64 transparent-virtualization issue (Xen may not be running).
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 9ce1e7c67d5d9994ee01268fcee2cedf0fc916e5 # Parent 65a2cf84b33552eb749bba1990aa35c4fa887a16 Fix IA64 transparent-virtualization issue (Xen may not be running). Signed-off-by: Tristan Gingold <tristan.gingold@xxxxxxxx> --- linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c | 5 +++++ 1 files changed, 5 insertions(+) diff -r 65a2cf84b335 -r 9ce1e7c67d5d linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c Fri May 05 13:41:35 2006 +0100 +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c Fri May 05 13:46:59 2006 +0100 @@ -1069,6 +1069,11 @@ static int __init wait_for_devices(void) { 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-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |