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

[Xen-changelog] Get rid of some annoying debug messages.



# HG changeset patch
# User sos22@xxxxxxxxxxxxxxxxxxxx
# Node ID 56e5cf83e3af078918a9337d4036aa47dd6eaaee
# Parent  66348ff38ec16b869ac23cd4c92aebde70471414
Get rid of some annoying debug messages.

Signed-off-by: Steven Smith, sos22@xxxxxxxxx

diff -r 66348ff38ec1 -r 56e5cf83e3af 
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c
--- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c    Fri Aug 19 
13:08:50 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c    Fri Aug 19 
13:21:02 2005
@@ -168,8 +168,6 @@
        struct xenbus_driver *drv = to_xenbus_driver(_dev->driver);
        const struct xenbus_device_id *id;
 
-       BUG_ON(!dev->driver);
-
        if (!drv->probe)
                return -ENODEV;
 
diff -r 66348ff38ec1 -r 56e5cf83e3af xen/common/event_channel.c
--- a/xen/common/event_channel.c        Fri Aug 19 13:08:50 2005
+++ b/xen/common/event_channel.c        Fri Aug 19 13:21:02 2005
@@ -588,7 +588,6 @@
     long           rc = 0;
 
     if ( (vcpu >= MAX_VIRT_CPUS) || (d->vcpu[vcpu] == NULL) ) {
-        printf("vcpu %d bad.\n", vcpu);
         return -EINVAL;
     }
 
@@ -596,7 +595,6 @@
 
     if ( !port_is_valid(d, port) )
     {
-        printf("port %d bad.\n", port);
         rc = -EINVAL;
         goto out;
     }
@@ -610,7 +608,6 @@
         chn->notify_vcpu_id = vcpu;
         break;
     default:
-        printf("evtchn type %d can't be rebound.\n", chn->state);
         rc = -EINVAL;
         break;
     }
diff -r 66348ff38ec1 -r 56e5cf83e3af xen/common/schedule.c
--- a/xen/common/schedule.c     Fri Aug 19 13:08:50 2005
+++ b/xen/common/schedule.c     Fri Aug 19 13:21:02 2005
@@ -311,7 +311,6 @@
         return -ESRCH;
     /* Don't pickle vcpus which are currently running */
     if (!test_bit(_VCPUF_down, &v->vcpu_flags)) {
-        printf("Pickling a live vcpu?\n");
         return -EBUSY;
     }
     c = xmalloc(vcpu_guest_context_t);
@@ -367,7 +366,6 @@
     case SCHEDOP_vcpu_pickle:
     {
         ret = do_vcpu_pickle((int)(op >> SCHEDOP_vcpushift), arg);
-        printf("Pickle result %ld.\n", ret);
         break;
     }
 

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