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

[Xen-changelog] [linux-2.6.18-xen] Disable xenbus warning for console during domU boot



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1259083658 0
# Node ID c25b2e4870ca6897ea8754e9c6ba5b1ab11c8f83
# Parent  a42e99460644129e527dc9b7e96b71e3093efa94
Disable xenbus warning for console during domU boot
and vfb timeout during domU shutdown
Signed-off-by: Daniel Kiper <dkiper@xxxxxxxxxxxx>
---
 drivers/xen/xenbus/xenbus_probe.c |    7 +++++++
 1 files changed, 7 insertions(+)

diff -r a42e99460644 -r c25b2e4870ca drivers/xen/xenbus/xenbus_probe.c
--- a/drivers/xen/xenbus/xenbus_probe.c Tue Nov 24 17:27:19 2009 +0000
+++ b/drivers/xen/xenbus/xenbus_probe.c Tue Nov 24 17:27:38 2009 +0000
@@ -363,6 +363,10 @@ static void xenbus_dev_shutdown(struct d
                goto out;
        }
        xenbus_switch_state(dev, XenbusStateClosing);
+
+       if (!strcmp(dev->devicetype, "vfb"))
+               goto out;
+
        timeout = wait_for_completion_timeout(&dev->down, timeout);
        if (!timeout)
                printk("%s: %s timeout closing device\n", __FUNCTION__, 
dev->nodename);
@@ -581,6 +585,9 @@ static int xenbus_probe_frontend(const c
 {
        char *nodename;
        int err;
+
+       if (!strcmp(type, "console"))
+               return 0;
 
        nodename = kasprintf(GFP_KERNEL, "%s/%s/%s", xenbus_frontend.root, 
type, name);
        if (!nodename)

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