WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 8 of 9] hotplug: remove debug messages from NetBSD ho

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 8 of 9] hotplug: remove debug messages from NetBSD hotplug scripts
From: Roger Pau Monne <roger.pau@xxxxxxxxxxxxx>
Date: Fri, 14 Oct 2011 15:35:40 +0200
Delivery-date: Fri, 14 Oct 2011 06:46:54 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:content-type:mime-version:content-transfer-encoding:subject :x-mercurial-node:message-id:in-reply-to:references:user-agent:date :from:to; bh=ENws5XvbsSax0oUcrqbKic3a/RPNz4tt93l1nPGNb7c=; b=ugwZSC4pO3j5zeRSSKSWTh3bffmERmBFtwiVgnZEy/k5Zy0FkX+4aNrhhm+8nd9nnV K8PuA36hb0KWhxDUZq+M8cRpzuidGZAVE3lWo/azXuBi9uh1j3941INsMXzaajgQT5QZ sV0q9ynRguMeCGSwIHnVKZ2aFCIRf+RVrFHnM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1318599332@loki>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1318599332@loki>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.9.2
# HG changeset patch
# User Roger Pau Monne <roger.pau@xxxxxxxxxxxxx>
# Date 1318595892 -7200
# Node ID 07502345baca44478e3086515a071b24c5aa9a33
# Parent  2a7a580b84556a11e26be0f15864704ae5a7f0c0
hotplug: remove debug messages from NetBSD hotplug scripts

Remove unecessary debug messages from NetBSD hotplug scripts, left error 
messages only.

Signed-off-by: Roger Pau Monne <roger.pau@xxxxxxxxxxxxx>

diff -r 2a7a580b8455 -r 07502345baca tools/hotplug/NetBSD/block
--- a/tools/hotplug/NetBSD/block        Fri Sep 30 14:38:55 2011 +0200
+++ b/tools/hotplug/NetBSD/block        Fri Oct 14 14:38:12 2011 +0200
@@ -64,14 +64,12 @@ 2)
                        if [ "$status" = "free" ] && \
                            vnconfig /dev/${disk}d $xparams >/dev/null; then
                                device=/dev/${disk}d
-                               echo vnconfig /dev/${disk}d $xparams
                                break   
                        fi
                done
                if [ x$device = x ] ; then
                        error "no available vnd device"
                fi
-               echo xenstore-write $xpath/vnd $device
                xenstore-write $xpath/vnd $device
                ;;
        phy)
@@ -79,9 +77,7 @@ 2)
                ;;
        esac
        physical_device=$(stat -f '%r' "$device")
-       echo xenstore-write $xpath/physical-device $physical_device
        xenstore-write $xpath/physical-device $physical_device
-       echo xenstore-write $xpath/hotplug-status connected
        xenstore-write $xpath/hotplug-status connected
        exit 0
        ;;
diff -r 2a7a580b8455 -r 07502345baca tools/hotplug/NetBSD/vif-bridge
--- a/tools/hotplug/NetBSD/vif-bridge   Fri Sep 30 14:38:55 2011 +0200
+++ b/tools/hotplug/NetBSD/vif-bridge   Fri Oct 14 14:38:12 2011 +0200
@@ -24,12 +24,9 @@ 2)
        xfid=$(xenstore-read "$xpath/frontend-id")
        xhandle=$(xenstore-read "$xpath/handle")
        iface=$(xenstore-read "$xpath/vifname")
-       echo ifconfig $iface up
        ifconfig $iface up
        brconfig $xbridge add $iface
-       echo brconfig $xbridge add $iface
        xenstore-write $xpath/hotplug-status connected
-       echo xenstore-write $xpath/hotplug-status connected
        exit 0
        ;;
 *)
diff -r 2a7a580b8455 -r 07502345baca tools/hotplug/NetBSD/vif-ip
--- a/tools/hotplug/NetBSD/vif-ip       Fri Sep 30 14:38:55 2011 +0200
+++ b/tools/hotplug/NetBSD/vif-ip       Fri Oct 14 14:38:12 2011 +0200
@@ -24,10 +24,8 @@ 2)
        xfid=$(xenstore-read "$xpath/frontend-id")
        xhandle=$(xenstore-read "$xpath/handle")
        iface=$(xenstore-read "$xpath/vifname")
-       echo ifconfig $iface $xip up
        ifconfig $iface $xip up
        xenstore-write $xpath/hotplug-status connected
-       echo xenstore-write $xpath/hotplug-status connected
        exit 0
        ;;
 *)

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